mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-12 00:12:27 +00:00
fix: allow Hermit on VMOS only
This commit is contained in:
@@ -137,6 +137,10 @@ class Device(Screenshot, Control, AppControl):
|
||||
# if self.config.Emulator_ScreenshotMethod != 'nemu_ipc' and self.config.Emulator_ControlMethod == 'nemu_ipc':
|
||||
# logger.warning('When not using nemu_ipc, both screenshot and control should not use nemu_ipc')
|
||||
# self.config.Emulator_ControlMethod = 'minitouch'
|
||||
# Allow Hermit on VMOS only
|
||||
if self.config.Emulator_ControlMethod == 'Hermit' and not self.is_vmos:
|
||||
logger.warning('ControlMethod is allowed on VMOS only')
|
||||
self.config.Emulator_ControlMethod = 'minitouch'
|
||||
pass
|
||||
|
||||
def screenshot(self):
|
||||
|
||||
Reference in New Issue
Block a user