1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Fix: Raise error if app_keep_alive is enabled in MuMu 12

This commit is contained in:
LmeSzinc
2023-08-05 17:56:31 +08:00
parent 98a29c88cd
commit b40850200b
3 changed files with 42 additions and 6 deletions

View File

@@ -118,7 +118,9 @@ class ConnectionAttr:
@cached_property
def is_mumu_family(self):
return self.serial == '127.0.0.1:7555'
# 127.0.0.1:7555
# 127.0.0.1:16384 + 32*n
return self.serial == '127.0.0.1:7555' or self.serial.startswith('127.0.0.1:16')
@cached_property
def is_emulator(self):