恢复代理时的自动更新

This commit is contained in:
DLmaster
2024-10-29 08:11:06 +08:00
parent af24208cf3
commit fff8e11524

View File

@@ -692,6 +692,15 @@ class MaaRunner(QtCore.QThread):
"Start.StartEmulator" "Start.StartEmulator"
] = "True" # 启动MAA后自动开启模拟器 ] = "True" # 启动MAA后自动开启模拟器
if self.data[index][15] == "simple": if self.data[index][15] == "simple":
data["Global"][
"VersionUpdate.ScheduledUpdateCheck"
] = "True" # 定时检查更新
data["Global"][
"VersionUpdate.AutoDownloadUpdatePackage"
] = "True" # 自动下载更新包
data["Global"][
"VersionUpdate.AutoInstallUpdatePackage"
] = "True" # 自动安装更新包
data["Configurations"]["Default"]["Start.ClientType"] = self.data[ data["Configurations"]["Default"]["Start.ClientType"] = self.data[
index index
][ ][
@@ -775,6 +784,15 @@ class MaaRunner(QtCore.QThread):
"Start.StartEmulator" "Start.StartEmulator"
] = "True" # 启动MAA后自动开启模拟器 ] = "True" # 启动MAA后自动开启模拟器
if self.data[index][15] == "simple": if self.data[index][15] == "simple":
data["Global"][
"VersionUpdate.ScheduledUpdateCheck"
] = "True" # 定时检查更新
data["Global"][
"VersionUpdate.AutoDownloadUpdatePackage"
] = "True" # 自动下载更新包
data["Global"][
"VersionUpdate.AutoInstallUpdatePackage"
] = "True" # 自动安装更新包
data["Configurations"]["Default"]["Start.ClientType"] = self.data[ data["Configurations"]["Default"]["Start.ClientType"] = self.data[
index index
][ ][