mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-20 21:25:37 +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
|
# MuMU Pro is the Mac version of MuMu
|
||||||
if not IS_MACINTOSH:
|
if not IS_MACINTOSH:
|
||||||
return False
|
return False
|
||||||
if not self.is_mumu_family:
|
if self.is_mumu_family:
|
||||||
if not self.serial.startswith('emulator-'):
|
logger.attr('is_mumu_pro', True)
|
||||||
return False
|
return True
|
||||||
if 'MACPRO' not in self.nemud_player_engine.upper():
|
if self.serial.startswith('emulator-'):
|
||||||
return False
|
if 'MACPRO' in self.nemud_player_engine.upper():
|
||||||
logger.attr('is_mumu_pro', True)
|
logger.attr('is_mumu_pro', True)
|
||||||
return True
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
@retry
|
@retry
|
||||||
|
|||||||
Reference in New Issue
Block a user