mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 04:59:33 +00:00
Update android build scripts
This commit is contained in:
parent
af6458a305
commit
1f02e8205f
3 changed files with 12 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -11,6 +11,9 @@ case $APP_ANDROID_TYPE in
|
|||
$CAKEWALLET)
|
||||
CONFIG_ARGS="--monero --bitcoin"
|
||||
;;
|
||||
$CAKEWALLET)
|
||||
CONFIG_ARGS="--haven"
|
||||
;;
|
||||
esac
|
||||
|
||||
cd ../..
|
||||
|
|
Loading…
Reference in a new issue