This commit is contained in:
aixiao 2022-05-26 13:46:59 +08:00
parent d0f0a768ab
commit e8d481c18f

12
fish.sh
View File

@ -89,21 +89,21 @@ Salted_fish() {
sleep_ 1 sleep_ 1
#第一件商品, 重新发布 #第一件商品, 重新发布
${ADB} input tap 959 1810 ${ADB} input tap 980 1810 #编辑
sleep_ 1 sleep_ 1
${ADB} input tap 925 129 ${ADB} input tap 925 129 #发布
sleep_ 1 sleep_ 1
${ADB} input keyevent 4 ${ADB} input keyevent 4 #退出
sleep_ 2 sleep_ 2
while [ $GOODS_NUMBER -gt 0 ]; do while [ $GOODS_NUMBER -gt 0 ]; do
GOODS_NUMBER=$((GOODS_NUMBER-1)) GOODS_NUMBER=$((GOODS_NUMBER-1))
${ADB} input swipe 540 1810 540 1500 200; ${ADB} input swipe 540 1810 540 1500 200; #上划
sleep_ 1 sleep_ 1
${ADB} input tap 579 1530 ${ADB} input tap 243 1560 #价格(水平位置)
sleep_ 2 sleep_ 2
${ADB} input tap 935 1971 ${ADB} input tap 935 1971 #
sleep_ 2 sleep_ 2
${ADB} input tap 300 1088 ${ADB} input tap 300 1088
sleep_ 2 sleep_ 2