mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -164,6 +164,8 @@ class Commission:
|
||||
ocr = Ocr(button, letter=(201, 201, 201), lang='jp')
|
||||
self.button = button
|
||||
self.name = ocr.ocr(self.image)
|
||||
# NB装備輸送 -> NYB装備輸送
|
||||
self.name = self.name.replace('NB', 'BYB').replace('BW', 'BIW')
|
||||
self.genre = self.commission_name_parse(self.name)
|
||||
|
||||
# Suffix
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user