mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-12 02:22:35 +00:00
fix: share screenshot_method_override across tasks
This commit is contained in:
@@ -95,12 +95,6 @@ class Device(Screenshot, Control, AppControl):
|
||||
self.screenshot_interval_set()
|
||||
self.method_check()
|
||||
|
||||
# AAS only, use nemu_ipc if available
|
||||
available = self.nemu_ipc_available()
|
||||
logger.attr('nemu_ipc_available', available)
|
||||
if available:
|
||||
self.config.override(Emulator_ScreenshotMethod='nemu_ipc')
|
||||
|
||||
# Auto-select the fastest screenshot method
|
||||
if not self.config.is_template_config and self.config.Emulator_ScreenshotMethod == 'auto':
|
||||
self.run_simple_screenshot_benchmark()
|
||||
|
||||
Reference in New Issue
Block a user