defaults to release

This commit is contained in:
enforcer007 2023-02-21 07:00:59 +00:00
parent 8f35f5c65b
commit 1e1a544c9e

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
MODE=${MODE:=debug}
MODE=${MODE:=release}
$ANDROID_NDK_HOME/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip android/app/src/main/jniLibs/arm64-v8a/*
flutter build apk --target-platform android-arm64,android-arm --${MODE} --obfuscate --split-debug-info ./split-debug-info
flutter build apk --split-per-abi --target-platform android-arm64,android-arm --${MODE} --obfuscate --split-debug-info ./split-debug-info