From 1f02e8205fa72b9915d6ac0218a023b6db4074cd Mon Sep 17 00:00:00 2001 From: M Date: Wed, 23 Feb 2022 15:31:59 +0200 Subject: [PATCH] Update android build scripts --- scripts/android/app_env.sh | 2 +- scripts/android/app_icon.sh | 11 ++++++++--- scripts/android/pubspec_gen.sh | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/android/app_env.sh b/scripts/android/app_env.sh index c93372534..be4e133ab 100755 --- a/scripts/android/app_env.sh +++ b/scripts/android/app_env.sh @@ -10,7 +10,7 @@ MONERO_COM="monero.com" CAKEWALLET="cakewallet" HAVEN="haven" -TYPES=($MONERO_COM $CAKEWALLET) +TYPES=($MONERO_COM $CAKEWALLET $HAVEN) APP_ANDROID_TYPE=$1 MONERO_COM_NAME="Monero.com" diff --git a/scripts/android/app_icon.sh b/scripts/android/app_icon.sh index 341542123..9db01f227 100755 --- a/scripts/android/app_icon.sh +++ b/scripts/android/app_icon.sh @@ -14,15 +14,20 @@ ANDROID_ICON_SET_DEST_PATH=`pwd`/../../android/app/src/main/res case $APP_ANDROID_TYPE in "monero.com") - APP_LOGO=$ASSETS_DIR/images/monero.com_logo.png - ANDROID_ICON=$MONERO_COM_PATH - ANDROID_ICON_SET=$MONEROCOM_ICON_SET_PATH + APP_LOGO=$ASSETS_DIR/images/monero.com_logo.png + ANDROID_ICON=$MONERO_COM_PATH + ANDROID_ICON_SET=$MONEROCOM_ICON_SET_PATH ;; "cakewallet") APP_LOGO=$ASSETS_DIR/images/cakewallet_logo.png ANDROID_ICON=$CAKEWALLET_PATH ANDROID_ICON_SET=$CAKEWALLET_ICON_SET_PATH ;; + "haven") + APP_LOGO=$ASSETS_DIR/images/cakewallet_logo.png + ANDROID_ICON=$CAKEWALLET_PATH + ANDROID_ICON_SET=$CAKEWALLET_ICON_SET_PATH + ;; esac rm $APP_LOGO_DEST_PATH diff --git a/scripts/android/pubspec_gen.sh b/scripts/android/pubspec_gen.sh index 350aa664d..7ea42ec9c 100755 --- a/scripts/android/pubspec_gen.sh +++ b/scripts/android/pubspec_gen.sh @@ -11,6 +11,9 @@ case $APP_ANDROID_TYPE in $CAKEWALLET) CONFIG_ARGS="--monero --bitcoin" ;; + $CAKEWALLET) + CONFIG_ARGS="--haven" + ;; esac cd ../..