diff --git a/app/core/config.py b/app/core/config.py index bb6730e..6b40295 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -617,7 +617,7 @@ class MaaUserConfig(QConfig): class AppConfig(GlobalConfig): - VERSION = "4.3.6.3" + VERSION = "4.3.6.4" gameid_refreshed = Signal() PASSWORD_refreshed = Signal() diff --git a/app/models/MAA.py b/app/models/MAA.py index 73cb04c..bc48084 100644 --- a/app/models/MAA.py +++ b/app/models/MAA.py @@ -1392,6 +1392,17 @@ class MaaManager(QObject): "Fight.UseRemainingSanityStage" ] = "True" # 使用剩余理智 + # 基建模式 + if ( + data["Configurations"]["Default"]["Infrast.InfrastMode"] + == "Custom" + ): + data["Configurations"]["Default"][ + "Infrast.CustomInfrastPlanIndex" + ] = user_data["Data"][ + "CustomInfrastPlanIndex" + ] # 自定义基建配置索引 + # 人工排查配置 elif "人工排查" in mode: diff --git a/resources/version.json b/resources/version.json index 520c062..61ee85d 100644 --- a/resources/version.json +++ b/resources/version.json @@ -1,8 +1,13 @@ { - "main_version": "4.3.6.3", + "main_version": "4.3.6.4", "updater_version": "1.0.0.0", "announcement": "\n## 新增功能\n- 屏蔽MuMu模拟器开屏广告功能上线\n- 更新器支持多线程下载\n- 添加强制关闭ADB与模拟器等增强任务项\n## 修复BUG\n- 修复统计信息HTML模板公招匹配错误\n- 修复密码显示按钮动画异常\n- 修复`检测到MAA未能实际执行任务`报错被异常屏蔽\n- 修复MAA超时判定异常失效\n## 程序优化\n- 关机等电源操作添加100s倒计时\n- 人工排查弹窗方法优化\n- 人工排查时自动屏蔽静默操作\n- 公告样式优化", "version_info": { + "4.3.6.4": { + "修复BUG": [ + "修复详细模式下非定时自定义基建无法正常换班的问题" + ] + }, "4.3.6.3": { "新增功能": [ "下载器支持调用Mirror酱"