1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 15:45:26 +08:00

Add: Faster screenshot methods ADB_nc and aScreenCap_nc

- Allow config names when creating Device instances
- Add "Ultra Fast" level in performance test
This commit is contained in:
LmeSzinc
2022-03-23 21:20:01 +08:00
parent 5951d05f90
commit 5ba2f5c5ac
16 changed files with 254 additions and 60 deletions

View File

@@ -61,6 +61,7 @@ class ManualConfig:
module.device
"""
FORWARD_PORT_RANGE = (20000, 21000)
REVERSE_SERVER_PORT = 7903
ASCREENCAP_FILEPATH_LOCAL = './bin/ascreencap'
ASCREENCAP_FILEPATH_REMOTE = '/data/local/tmp/ascreencap'
MINITOUCH_FILEPATH_REMOTE = '/data/local/tmp/minitouch'