fix(utils): 修复更新器文件夹定位问题

This commit is contained in:
DLmaster
2025-02-03 09:47:10 +08:00
parent e34106f857
commit 6f7497cbe9
2 changed files with 3 additions and 3 deletions

View File

@@ -319,7 +319,7 @@ class AUTO_MAA_Updater(QApplication):
if __name__ == "__main__":
# 获取软件自身的路径
app_path = Path.cwd()
app_path = Path(sys.argv[0]).resolve().parent
# 从本地版本信息文件获取当前版本信息
if (app_path / "resources/version.json").exists():

View File

@@ -1,7 +1,7 @@
{
"main_version": "4.2.2.1",
"updater_version": "1.1.1.0",
"announcement": "\n## 新增功能\n- 添加用户每日代理次数上限功能 #15\n## 修复BUG\n- 修复自定义基建无法正常使用的问题\n- 修正人工排查文案\n## 程序优化\n- 无",
"updater_version": "1.1.1.1",
"announcement": "\n## 新增功能\n- 添加用户每日代理次数上限功能 #15\n## 修复BUG\n- 修复自定义基建无法正常使用的问题\n- 修正人工排查文案\n- 修复更新器文件夹定位问题\n## 程序优化\n- 无",
"proxy_list": [
"",
"https://gitproxy.click/",