Skip to content

Commit 025e71b

Browse files
committed
chore: add install and launch script in command
1 parent 8038b78 commit 025e71b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
adb install -r demo/build/outputs/apk/demo-debug.apk
4+
5+
if [ "$1" == "y" ]; then
6+
adb shell am start -n "com.liulishuo.filedownloader.demo/com.liulishuo.filedownloader.demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
7+
fi

0 commit comments

Comments
 (0)