mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Chore: [ALAS] Cache prop nemud.app_keep_alive
This commit is contained in:
@@ -146,7 +146,12 @@ class ConnectionAttr:
|
||||
def is_mumu_family(self):
|
||||
# 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')
|
||||
return self.serial == '127.0.0.1:7555' or self.is_mumu12_family
|
||||
|
||||
@cached_property
|
||||
def is_mumu12_family(self):
|
||||
# 127.0.0.1:16384 + 32*n
|
||||
return len(self.serial) == 15 and self.serial.startswith('127.0.0.1:16')
|
||||
|
||||
@cached_property
|
||||
def is_emulator(self):
|
||||
|
||||
Reference in New Issue
Block a user