Files
MaaAssistantArknights/tools/screen.bat

8 lines
160 B
Batchfile

set port=5555
adb connect 127.0.0.1:%port%
adb -s 127.0.0.1:%port% shell screencap /sdcard/screen.png
adb -s 127.0.0.1:%port% pull /sdcard/screen.png .
pause