修复深色模式下UI异常
This commit is contained in:
20
AUTO_MAA.py
20
AUTO_MAA.py
@@ -175,7 +175,11 @@ class MaaRunner(QtCore.QThread):
|
||||
# 记录当前时间
|
||||
start_time = datetime.datetime.now()
|
||||
# 创建MAA任务
|
||||
maa = subprocess.Popen([self.maa_path])
|
||||
maa = subprocess.Popen(
|
||||
[self.maa_path],
|
||||
shell=True,
|
||||
creationflags=subprocess.CREATE_NO_WINDOW,
|
||||
)
|
||||
# 记录是否超时的标记
|
||||
self.if_time_out = False
|
||||
# 更新运行信息
|
||||
@@ -330,7 +334,11 @@ class MaaRunner(QtCore.QThread):
|
||||
# 记录当前时间
|
||||
start_time = datetime.datetime.now()
|
||||
# 创建MAA任务
|
||||
maa = subprocess.Popen([self.maa_path])
|
||||
maa = subprocess.Popen(
|
||||
[self.maa_path],
|
||||
shell=True,
|
||||
creationflags=subprocess.CREATE_NO_WINDOW,
|
||||
)
|
||||
# 更新运行信息
|
||||
wait_index = [
|
||||
_
|
||||
@@ -442,7 +450,11 @@ class MaaRunner(QtCore.QThread):
|
||||
# 配置MAA
|
||||
self.set_maa(self.mode, "")
|
||||
# 创建MAA任务
|
||||
maa = subprocess.Popen([self.maa_path])
|
||||
maa = subprocess.Popen(
|
||||
[self.maa_path],
|
||||
shell=True,
|
||||
creationflags=subprocess.CREATE_NO_WINDOW,
|
||||
)
|
||||
# 记录当前时间
|
||||
start_time = datetime.datetime.now()
|
||||
|
||||
@@ -1202,7 +1214,6 @@ class Main(QWidget):
|
||||
self.user_list_simple.itemChanged.connect(
|
||||
lambda item: self.change_user_Item(item, "simple")
|
||||
)
|
||||
self.user_list_simple.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||||
|
||||
self.user_list_beta = self.ui.findChild(
|
||||
QTableWidget, "tableWidget_userlist_beta"
|
||||
@@ -1210,7 +1221,6 @@ class Main(QWidget):
|
||||
self.user_list_beta.itemChanged.connect(
|
||||
lambda item: self.change_user_Item(item, "beta")
|
||||
)
|
||||
self.user_list_beta.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||||
|
||||
self.user_add = self.ui.findChild(QPushButton, "pushButton_new")
|
||||
self.user_add.clicked.connect(self.add_user)
|
||||
|
||||
@@ -202,12 +202,10 @@ MAA多账号管理与自动化软件
|
||||
|
||||
## 未来开发方向
|
||||
|
||||
- [x] 支持B服
|
||||
- [x] 支持完全自定义MAA配置
|
||||
- [x] 支持程序版本更新
|
||||
- [ ] 尝试接入更多开源社区成果
|
||||
- [ ] 支持对MAA运行状况的进一步识别
|
||||
- [ ] 支持宽幅ADB连接适配
|
||||
- [ ] 添加更多通知手段
|
||||
- [x] 添加更多通知手段
|
||||
- [ ] GUI界面美化
|
||||
|
||||
## 贡献者
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"main_version": "4.1.3.0",
|
||||
"main_download_url": "https://ghp.ci/https://github.com/DLmaster361/AUTO_MAA/releases/download/v4.1.3/AUTO_MAA_v4.1.3.zip",
|
||||
"main_version": "4.1.3.1",
|
||||
"main_download_url": "https://ghp.ci/https://github.com/DLmaster361/AUTO_MAA/releases/download/v4.1.3_beta/AUTO_MAA_v4.1.3_beta.zip",
|
||||
"updater_version": "1.0.5.0",
|
||||
"updater_download_url": "https://ghp.ci/https://github.com/DLmaster361/AUTO_MAA/releases/download/v4.1.3/Updater_v1.0.5.zip",
|
||||
"announcement": "\n## 新增功能\n- 记忆窗口与菜单配置\n- 邮件通知功能上线\n- 添加最小化到托盘功能\n## 修复BUG\n- 修复定时执行功能在设定时刻无法中止任务的问题\n- 修复更新时主程序关闭不彻底的问题\n- 与MAA项目同步移除最小化启动模拟器选项\n## 程序优化\n- 优化`MaaRunner`初始化流程\n- 合并MAA启动器配置流程\n- 优化图标\n- Updater.exe不再依赖.ui文件"
|
||||
"updater_download_url": "https://ghp.ci/https://github.com/DLmaster361/AUTO_MAA/releases/download/v4.1.3_beta/Updater_v1.0.5.zip",
|
||||
"announcement": "\n## 新增功能\n- 暂无\n## 修复BUG\n- 修复深色模式下UI异常 #10\n## 程序优化\n- 暂无"
|
||||
}
|
||||
Reference in New Issue
Block a user