mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 05:47:30 +08:00
Fix: Mark nemu_ipc unavailable if emulator instance not found
This commit is contained in:
parent
d67874ca68
commit
3e585ab8e7
@ -462,7 +462,9 @@ class NemuIpc(Platform):
|
|||||||
# Search emulator instance
|
# Search emulator instance
|
||||||
# with E:\ProgramFiles\MuMuPlayer-12.0\shell\MuMuPlayer.exe
|
# with E:\ProgramFiles\MuMuPlayer-12.0\shell\MuMuPlayer.exe
|
||||||
# installation path is E:\ProgramFiles\MuMuPlayer-12.0
|
# installation path is E:\ProgramFiles\MuMuPlayer-12.0
|
||||||
_ = self.emulator_instance
|
if self.emulator_instance is None:
|
||||||
|
logger.error('Unable to use NemuIpc because emulator instance not found')
|
||||||
|
raise RequestHumanTakeover
|
||||||
try:
|
try:
|
||||||
return NemuIpcImpl(
|
return NemuIpcImpl(
|
||||||
nemu_folder=self.emulator_instance.emulator.abspath('../'),
|
nemu_folder=self.emulator_instance.emulator.abspath('../'),
|
||||||
|
Loading…
Reference in New Issue
Block a user