Skip to content

Commit

Permalink
refactor: add adb shell cmd to launch app after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mediocre9 committed Nov 7, 2023
1 parent 6b3c7c7 commit 9e10a0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# change app architecture from here
# according to your needs . . .
app_architecture="app-armeabi-v7a-release.apk"
package="com.mediocre.smartlink"

adb install -r "../build/app/outputs/flutter-apk/$app_architecture"
adb shell am start -n $package/.MainActivity

echo Success
read

0 comments on commit 9e10a0c

Please sign in to comment.