launch app after installing

This commit is contained in:
Eric House 2014-02-07 07:34:09 -08:00
parent 048ae63802
commit ed9b9646e7

View file

@ -30,4 +30,21 @@ while [ ! -e $MANIFEST ]; do
cd ..
done
DIRNAME=$(basename $(pwd))
case $DIRNAME in
XWords4-bt)
PKG=xw4bt
;;
XWords4)
PKG=xw4
;;
*)
usage "running in unexpected directory $DIRNAME"
;;
esac
ant $CMDS
if [ "$CMDS" != "${CMDS%%install}" ]; then
adb shell am start -n org.eehouse.android.${PKG}/org.eehouse.android.${PKG}.GamesList
fi