mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: Change Mumu X screenshot tips to scrcpy
This commit is contained in:
@@ -89,8 +89,11 @@ 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')
|
||||
logger.critical('Please use ADB or uiautomator2 for screenshots instead')
|
||||
raise RequestHumanTakeover
|
||||
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.info(f'pushing {filepath}')
|
||||
self.adb_push(filepath, self.config.ASCREENCAP_FILEPATH_REMOTE)
|
||||
|
||||
Reference in New Issue
Block a user