1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: [ALAS] Inconsistent result for nemu_ipc_available and nemu_ipc

This commit is contained in:
LmeSzinc
2025-05-04 04:06:13 +08:00
parent b24717d6ee
commit ae04093727

View File

@@ -505,11 +505,15 @@ class NemuIpc(Platform):
return False
if not self.is_mumu_family:
return False
# >= 4.0 has no info in getprop
if self.nemud_player_version == '':
return True
if self.nemud_app_keep_alive == '':
return False
# >= 4.0 has no info in getprop
# Try initializing nemu_ipc for final check
pass
else:
# Having version, probably MuMu6 or MuMu12 version 3.x
if self.nemud_app_keep_alive == '':
# Empty property, probably MuMu6 or MuMu12 version < 3.5.6
return False
try:
_ = self.nemu_ipc
except RequestHumanTakeover: