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

This commit is contained in:
Soulter
2023-04-10 22:40:26 +08:00
parent c4071eedf8
commit 2b70eef35b
2 changed files with 1 additions and 6 deletions
-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)