mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 修复自动更新依赖
This commit is contained in:
parent
1ca76cd8dc
commit
0c8699ba87
@ -223,6 +223,7 @@ def install_dependencies(dependencies: Dict, need_update: bool = False):
|
||||
'pdm run python -m ensurepip',
|
||||
capture_output=True,
|
||||
text=True,
|
||||
shell=True,
|
||||
)
|
||||
# 检查命令执行结果
|
||||
if result.returncode != 0:
|
||||
@ -270,6 +271,7 @@ def install_dependencies(dependencies: Dict, need_update: bool = False):
|
||||
CMD,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
shell=True,
|
||||
)
|
||||
# 检查命令执行结果
|
||||
if result.returncode == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user