fix(maa): 静默模式控制时段延长至模拟器完成启动的10s后

This commit is contained in:
DLmaster361
2025-06-11 01:13:57 +08:00
parent 916396f855
commit 428b849bcc
7 changed files with 17 additions and 20 deletions

View File

@@ -576,7 +576,7 @@ class MaaPlanConfig(LQConfig):
class AppConfig(GlobalConfig):
VERSION = "4.3.10.3"
VERSION = "4.3.10.0"
gameid_refreshed = Signal()
PASSWORD_refreshed = Signal()

View File

@@ -96,17 +96,9 @@ class _MainTimer(QObject):
windows = System.get_window_info()
# 排除雷电名为新通知的窗口
windows = [
window
for window in windows
if not (
window[0] == "新通知" and Path(window[1]) in Config.silence_list
)
]
# 此处排除雷电名为新通知的窗口
if any(
str(emulator_path) in window
str(emulator_path) in window and window[0] != "新通知"
for window in windows
for emulator_path in Config.silence_list
):