From de262ee6bd75e6a203d793220ec430950546dce1 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Sat, 8 Feb 2025 16:58:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(models):=20=E4=BF=AE=E5=A4=8D=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEMAA=E6=97=B6=E5=BC=82=E5=B8=B8=E8=B0=83=E7=94=A8B?= =?UTF-8?q?=E6=9C=8D=E4=BB=BB=E5=8A=A1=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/MAA.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/models/MAA.py b/app/models/MAA.py index 48ecb3b..02f5509 100644 --- a/app/models/MAA.py +++ b/app/models/MAA.py @@ -650,9 +650,12 @@ class MaaManager(QObject): with self.maa_set_path.open(mode="r", encoding="utf-8") as f: data = json.load(f) - if (self.data[index][15] == "simple" and self.data[index][2] == "Bilibili") or ( - self.data[index][15] == "beta" - and data["Configurations"]["Default"]["Start.ClientType"] == "Bilibili" + if "设置MAA" not in mode and ( + (self.data[index][15] == "simple" and self.data[index][2] == "Bilibili") + or ( + self.data[index][15] == "beta" + and data["Configurations"]["Default"]["Start.ClientType"] == "Bilibili" + ) ): self.agree_bilibili(True) else: