mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
Fix: [ALAS] is_mumu_over_version_356 is True on mumu mac
(cherry picked from commit 834ef85cdb1272b04ba952d4d637d084407fa92a)
This commit is contained in:
parent
599579aee6
commit
a1bc3c94be
@ -312,8 +312,16 @@ class Connection(ConnectionAttr):
|
|||||||
Returns:
|
Returns:
|
||||||
bool: If MuMu12 version >= 3.5.6,
|
bool: If MuMu12 version >= 3.5.6,
|
||||||
which has nemud.app_keep_alive and always be a vertical device
|
which has nemud.app_keep_alive and always be a vertical device
|
||||||
|
MuMu PRO on mac has the same feature
|
||||||
"""
|
"""
|
||||||
return self.nemud_app_keep_alive != ''
|
if self.nemud_app_keep_alive != '':
|
||||||
|
return True
|
||||||
|
if IS_MACINTOSH:
|
||||||
|
res = self.adb_getprop('nemud.player_engine')
|
||||||
|
logger.attr('nemud.player_engine', res)
|
||||||
|
if 'MACPRO' in res:
|
||||||
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def _nc_server_host_port(self):
|
def _nc_server_host_port(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user