chore: 性能优化

- 调度队列历史记录归入配置类管理
- 添加.gitignore
- 工作流删除冗余部分
- 自动代理与人工排查结束后MAA恢复到全局配置 #40
- 网络相关操作由子线程执行
This commit is contained in:
DLmaster361
2025-04-20 00:01:49 +08:00
parent e8d592ae76
commit 5e4660670f
17 changed files with 331 additions and 391 deletions

View File

@@ -597,6 +597,9 @@ class MaaManager(QObject):
if self.isInterruptionRequested:
System.kill_process(self.maa_exe_path)
# 复原MAA配置文件
shutil.copy(self.config_path / "Default/gui.json", self.maa_set_path)
# 更新用户数据
updated_info = {_[2]: self.data[_[2]] for _ in self.user_list}
self.update_user_info.emit(self.config_path.name, updated_info)