fix: 修复启动时的依赖库更新流程;优化update latest指令

This commit is contained in:
Soulter committed 2023-04-10 22:40:26 +08:00
1 parent c4071eedf8
commit 2b70eef35b
2 files changed
+1 -6

No files matched your search

-5
View File
@@ -82,11 +82,6 @@ class Command:
pash_tag = "QQChannelChatGPT"+os.sep
repo.remotes.origin.pull()
try:
os.system("pip3 install -r "+pash_tag+"requirements.txt")
except BaseException as e:
print(str(e))
py = sys.executable
os.execl(py, py, *sys.argv)