fix(core): 修复版本号问题

This commit is contained in:
DLmaster
2025-04-12 19:03:39 +08:00
parent cb17cc32da
commit c8b342ba01
25 changed files with 38 additions and 29 deletions

View File

@@ -21,7 +21,7 @@
"""
AUTO_MAA
AUTO_MAA核心组件包
v4.2
v4.3
作者DLmaster_361
"""

View File

@@ -21,7 +21,7 @@
"""
AUTO_MAA
AUTO_MAA配置管理
v4.2
v4.3
作者DLmaster_361
"""
@@ -599,7 +599,7 @@ class MaaUserConfig(QConfig):
class AppConfig(GlobalConfig):
VERSION = "4.2.5.10"
VERSION = "4.3.0.0"
gameid_refreshed = Signal()
PASSWORD_refreshed = Signal()

View File

@@ -21,7 +21,7 @@
"""
AUTO_MAA
AUTO_MAA信息通知栏
v4.2
v4.3
作者DLmaster_361
"""
@@ -45,15 +45,15 @@ class _MainInfoBar:
if self.main_window is None:
logger.error("信息通知栏未设置父窗口")
return None
# 定义模式到 InfoBar 方法的映射
mode_mapping = {
"success": InfoBar.success,
"warning": InfoBar.warning,
"error": InfoBar.error,
"info": InfoBar.info
"info": InfoBar.info,
}
# 根据 mode 获取对应的 InfoBar 方法
info_bar_method = mode_mapping.get(mode)
if info_bar_method:
@@ -64,7 +64,7 @@ class _MainInfoBar:
isClosable=True,
position=InfoBarPosition.TOP_RIGHT,
duration=time,
parent=self.main_window
parent=self.main_window,
)
else:
logger.error(f"未知的通知栏模式: {mode}")

View File

@@ -21,7 +21,7 @@
"""
AUTO_MAA
AUTO_MAA业务调度器
v4.2
v4.3
作者DLmaster_361
"""

View File

@@ -21,7 +21,7 @@
"""
AUTO_MAA
AUTO_MAA主业务定时器
v4.2
v4.3
作者DLmaster_361
"""