From eb2f9d2ceaa0b6c164a4267d5cdfb47f9a2a2dc4 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Tue, 11 Feb 2025 13:47:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(models):=20=E4=BF=AE=E5=A4=8D=E9=9D=99?= =?UTF-8?q?=E9=BB=98=E4=BB=A3=E7=90=86=E6=A0=87=E8=AE=B0=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/MAA.py | 7 +++---- resources/version.json | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/models/MAA.py b/app/models/MAA.py index 02f5509..13d8d9e 100644 --- a/app/models/MAA.py +++ b/app/models/MAA.py @@ -248,8 +248,6 @@ class MaaManager(QObject): self.update_log_text.emit( "检测到MAA进程完成代理任务\n正在等待相关程序结束\n请等待10s" ) - # 移除静默进程标记 - Config.silence_list.remove(self.emulator_path) for _ in range(10): if self.isInterruptionRequested: break @@ -269,8 +267,6 @@ class MaaManager(QObject): creationflags=subprocess.CREATE_NO_WINDOW, ) killprocess.wait() - # 移除静默进程标记 - Config.silence_list.remove(self.emulator_path) # 推送异常通知 Notify.push_notification( "用户自动代理出现异常!", @@ -284,6 +280,9 @@ class MaaManager(QObject): time.sleep(1) break + # 移除静默进程标记 + Config.silence_list.remove(self.emulator_path) + # 成功完成代理的用户修改相关参数 if run_book[0] and run_book[1]: if self.data[user[2]][14] == 0 and self.data[user[2]][3] != -1: diff --git a/resources/version.json b/resources/version.json index 9603433..7164fe2 100644 --- a/resources/version.json +++ b/resources/version.json @@ -1,7 +1,7 @@ { - "main_version": "4.2.3.0", + "main_version": "4.2.3.1", "updater_version": "1.1.1.3", - "announcement": "\n## 新增功能\n- 添加用户每日代理次数上限功能 #15\n- 新增代理成功消息推送渠道Server酱与企业微信群机器人推送\n- 添加更新类别可选项\n- 添加调度队列完成任务后行为选项\n- 初步完成`托管bilibili游戏隐私政策`功能\n## 修复BUG\n- 修复自定义基建无法正常使用的问题\n- 修正人工排查文案\n- 修复高级MAA配置序号错位\n- 修复高级用户列表无法配置问题\n- 修复主调度台选项乱动问题\n- 修复更新器文件夹定位问题\n- 修复窗口记忆功能失效问题\n## 程序优化\n- 优化弹窗逻辑\n- 优化静默判定逻辑\n- 调整MAA设置目录时打开当前已配置的目录位置\n- 邮箱推送功能调整,改由用户提供发信邮箱", + "announcement": "\n## 新增功能\n- 暂无\n## 修复BUG\n- 修复静默代理标记移除异常情况\n## 程序优化\n- 暂无", "proxy_list": [ "", "https://gitproxy.click/",