mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
26 lines
743 B
Bash
Executable file
26 lines
743 B
Bash
Executable file
#!/bin/sh
|
|
APP_LOGO=""
|
|
APP_LOGO_DEST_PATH=`pwd`/../../assets/images/app_logo.png
|
|
ASSETS_DIR=`pwd`/../../assets
|
|
ANDROID_ICON_DIR=`pwd`/../../android/app/src/main/res/drawable
|
|
MONERO_COM_PATH=$ASSETS_DIR/images/monero.com_android_icon.png
|
|
CAKEWALLET_PATH=$ASSETS_DIR/images/cakewallet_android_icon.png
|
|
ANDROID_ICON=""
|
|
ANDROID_ICON_DEST_PATH=$ANDROID_ICON_DIR/ic_launcher.png
|
|
|
|
|
|
case $APP_ANDROID_TYPE in
|
|
"monero.com")
|
|
APP_LOGO=$ASSETS_DIR/images/monero.com_logo.png
|
|
ANDROID_ICON=$MONERO_COM_PATH
|
|
;;
|
|
"cakewallet")
|
|
APP_LOGO=$ASSETS_DIR/images/cakewallet_logo.png
|
|
ANDROID_ICON=$CAKEWALLET_PATH
|
|
;;
|
|
esac
|
|
|
|
rm $APP_LOGO_DEST_PATH
|
|
rm $ANDROID_ICON_DEST_PATH
|
|
ln -s $APP_LOGO $APP_LOGO_DEST_PATH
|
|
ln -s $ANDROID_ICON $ANDROID_ICON_DEST_PATH
|