diff --git a/module/device/device.py b/module/device/device.py index 9e9402d58..a1519df47 100644 --- a/module/device/device.py +++ b/module/device/device.py @@ -153,6 +153,10 @@ class Device(Screenshot, Control, AppControl): if not (self.is_emulator and self.is_ldplayer_bluestacks_family): logger.warning('ScreenshotMethod ldopengl is available on LD Player only, fallback to auto') self.config.Emulator_ScreenshotMethod = 'auto' + if not IS_WINDOWS and self.config.Emulator_ScreenshotMethod in ['nemu_ipc', 'ldopengl']: + logger.warning(f'ScreenshotMethod {self.config.Emulator_ScreenshotMethod} is available on Windows only, ' + f'fallback to auto') + self.config.Emulator_ScreenshotMethod = 'auto' def handle_night_commission(self, daily_trigger='21:00', threshold=30): """