deploy.sh
备份一下之前的一个脚本吧
#!bin/bash
adb uninstall org.cocos2d.fishingjoy4
for apk in `find . -name '*.apk' | xargs ls -t`
do
echo $apk
adb install $apk
break
done
adb shell am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n org.cocos2d.fishingjoy4/com.cocospay.CocosPayActivity
echo "ok"
好记性不如烂博客