Do not build apk by default
This commit is contained in:
parent
82de1aa88a
commit
8f6ad3d730
3 changed files with 12 additions and 8 deletions
16
debug-run.sh
16
debug-run.sh
|
@ -61,14 +61,18 @@ build_variant() {
|
|||
fi
|
||||
python3 scripts/replace_special_symbols.py
|
||||
python3 scripts/create_listing.py
|
||||
echo "* Building $1 version..."
|
||||
cordova build android
|
||||
if [[ "$2" == "android" ]]; then
|
||||
echo "* Building $1 apk..."
|
||||
cordova build android
|
||||
fi
|
||||
}
|
||||
|
||||
VARIANT="br" # eng/rus/br
|
||||
|
||||
build_variant $VARIANT
|
||||
build_variant $VARIANT $1
|
||||
|
||||
adb shell am force-stop su.viende.omori
|
||||
adb install platforms/android/app/build/outputs/apk/debug/app-debug.apk
|
||||
adb shell am start -n "su.viende.omori/su.viende.omori.MainActivity"
|
||||
if [[ "$1" == "android" ]]; then
|
||||
adb shell am force-stop su.viende.omori
|
||||
adb install platforms/android/app/build/outputs/apk/debug/app-debug.apk
|
||||
adb shell am start -n "su.viende.omori/su.viende.omori.MainActivity"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue