1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 12:08:21 +08:00

Merge branch 'master' into dev

This commit is contained in:
LmeSzinc
2023-01-25 00:21:30 +08:00
66 changed files with 652 additions and 76 deletions

View File

@@ -95,11 +95,8 @@ class AScreenCap(Connection):
filepath = os.path.join(self.config.ASCREENCAP_FILEPATH_LOCAL, ver, arc, 'ascreencap')
if not os.path.exists(filepath):
logger.critical('No suitable version of aScreenCap lib available for this device')
if self.is_mumu_family:
logger.critical('If you are using MuMu X, please set screenshot method to scrcpy')
else:
logger.critical('Please use ADB or uiautomator2 for screenshots instead')
raise RequestHumanTakeover
logger.critical('Please use ADB or uiautomator2 for screenshots instead')
raise RequestHumanTakeover
logger.info(f'pushing {filepath}')
self.adb_push(filepath, self.config.ASCREENCAP_FILEPATH_REMOTE)