mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Opt: Lazy aScreenCap initialization
This commit is contained in:
@@ -19,8 +19,8 @@ class Connection:
|
||||
self.serial = str(self.config.SERIAL)
|
||||
self.device = self.connect(self.serial)
|
||||
self.disable_uiautomator2_auto_quit()
|
||||
if self.config.DEVICE_SCREENSHOT_METHOD == 'aScreenCap':
|
||||
self._ascreencap_init()
|
||||
# if self.config.DEVICE_SCREENSHOT_METHOD == 'aScreenCap':
|
||||
# self._ascreencap_init()
|
||||
|
||||
@staticmethod
|
||||
def adb_command(cmd, serial=None):
|
||||
|
||||
Reference in New Issue
Block a user