From fff8e115246301856d32dcd6e0fdc4f0b426771d Mon Sep 17 00:00:00 2001 From: DLmaster Date: Tue, 29 Oct 2024 08:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=BB=A3=E7=90=86=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AUTO_MAA.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/AUTO_MAA.py b/AUTO_MAA.py index 90f83ac..b962153 100644 --- a/AUTO_MAA.py +++ b/AUTO_MAA.py @@ -692,6 +692,15 @@ class MaaRunner(QtCore.QThread): "Start.StartEmulator" ] = "True" # 启动MAA后自动开启模拟器 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[ index ][ @@ -775,6 +784,15 @@ class MaaRunner(QtCore.QThread): "Start.StartEmulator" ] = "True" # 启动MAA后自动开启模拟器 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[ index ][