mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
Fixes for app_config script for android
This commit is contained in:
parent
958f69d9e8
commit
ab4844ecfa
1 changed files with 15 additions and 1 deletions
|
@ -7,4 +7,18 @@ 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
|
||||
./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
|
Loading…
Reference in a new issue