fix: 修复更新器无法下载MAA的异常

This commit is contained in:
DLmaster
2025-04-13 16:46:54 +08:00
parent 4da4b7d552
commit 7e502420fa
8 changed files with 23 additions and 22 deletions

View File

@@ -241,7 +241,6 @@ class AUTO_MAA(MSFluentWindow):
# 清理临时更新器
if (Config.app_path / "AUTO_Updater.active.exe").exists():
try:
System.kill_process(Config.app_path / "AUTO_Updater.active.exe")
(Config.app_path / "AUTO_Updater.active.exe").unlink()
except Exception:
pass