Skip to content

Commit

Permalink
fix: default app name
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthBenro008 committed Aug 30, 2020
1 parent 1aafb9b commit f649656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bash ./gradlew test --stacktrace
bash ./gradlew assembleDebug --stacktrace

packageName="app.apk"
packageName="app-debug.apk"

sendpackage(){
echo "Package Name to $packageName"
Expand All @@ -15,7 +15,7 @@ sendpackage(){

renamePackage(){
{
mv app/build/outputs/apk/debug/app.apk app/build/outputs/apk/debug/"$packageName"
mv app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/debug/"$packageName"
}||{
echo "File Renaming Error Trying , reverting to normal name"
packageName="app.apk"
Expand Down

0 comments on commit f649656

Please sign in to comment.