mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-19 21:13:19 +08:00
Chore: clearify is_mumu_pro check
This commit is contained in:
@@ -337,13 +337,14 @@ class Connection(ConnectionAttr):
|
||||
# MuMU Pro is the Mac version of MuMu
|
||||
if not IS_MACINTOSH:
|
||||
return False
|
||||
if not self.is_mumu_family:
|
||||
if not self.serial.startswith('emulator-'):
|
||||
return False
|
||||
if 'MACPRO' not in self.nemud_player_engine.upper():
|
||||
return False
|
||||
logger.attr('is_mumu_pro', True)
|
||||
return True
|
||||
if self.is_mumu_family:
|
||||
logger.attr('is_mumu_pro', True)
|
||||
return True
|
||||
if self.serial.startswith('emulator-'):
|
||||
if 'MACPRO' in self.nemud_player_engine.upper():
|
||||
logger.attr('is_mumu_pro', True)
|
||||
return True
|
||||
return False
|
||||
|
||||
@cached_property
|
||||
@retry
|
||||
|
||||
Reference in New Issue
Block a user