修复解压失败时本地版本号异常变动问题

This commit is contained in:
DLmaster
2024-11-09 16:30:25 +08:00
parent 97046af931
commit 0de964e68c
2 changed files with 4 additions and 3 deletions

View File

@@ -106,6 +106,7 @@ class UpdateProcess(QThread):
e = str(e)
e = "\n".join([e[_ : _ + 75] for _ in range(0, len(e), 75)])
self.info.emit(f"解压更新时出错:\n{e}")
return None
with open(self.version_path, "r", encoding="utf-8") as f:
version_info = json.load(f)