Fixes for app_config script for android

This commit is contained in:
M 2022-01-08 17:31:09 +02:00
parent 958f69d9e8
commit ab4844ecfa

View file

@ -8,3 +8,17 @@ fi
sed -i "0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}" ./../../pubspec.yaml
sed -i "0,/version:/{s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/}" ./../../android/app/src/main/AndroidManifest.xml
./app_icon.sh
CONFIG_ARGS=""
case $APP_ANDROID_TYPE in
$MONERO_COM)
CONFIG_ARGS="--monero"
;;
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin"
;;
esac
cd ../..
flutter packages pub run tool/configure.dart $CONFIG_ARGS