From 6f7497cbe9f58fccc3326674afd21e9a47bc264d Mon Sep 17 00:00:00 2001 From: DLmaster Date: Mon, 3 Feb 2025 09:47:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(utils):=20=E4=BF=AE=E5=A4=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=99=A8=E6=96=87=E4=BB=B6=E5=A4=B9=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/Updater.py | 2 +- resources/version.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/Updater.py b/app/utils/Updater.py index 364288f..3ba46fa 100644 --- a/app/utils/Updater.py +++ b/app/utils/Updater.py @@ -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(): diff --git a/resources/version.json b/resources/version.json index cf63ea1..e026a4a 100644 --- a/resources/version.json +++ b/resources/version.json @@ -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/",