恢复代理时的自动更新
This commit is contained in:
18
AUTO_MAA.py
18
AUTO_MAA.py
@@ -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
|
||||||
][
|
][
|
||||||
|
|||||||
Reference in New Issue
Block a user