Created
October 1, 2019 14:19
-
-
Save shuson/0f19f55eb7951a6f2986b95c5ce1214b to your computer and use it in GitHub Desktop.
家国梦收金币专用
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 分辨率 1080x2340 小米9 | |
echo "开始执行" | |
COUNTER=0 | |
while [ $COUNTER -lt 100 ] | |
do | |
COUNTER=`expr $COUNTER + 1` | |
echo 第 $COUNTER 次执行 | |
echo 开始 | |
adb shell input swipe 260 320 260 1600 500 | |
sleep 1 | |
adb shell input swipe 560 311 570 1411 500 | |
sleep 1 | |
adb shell input swipe 770 311 770 1430 500 | |
sleep 1 | |
echo 再来一次 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment