mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-28 22:49:49 +00:00
01150ef2a7
* hv * Change build version
28 lines
No EOL
1.1 KiB
Bash
Executable file
28 lines
No EOL
1.1 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
ICON_120_PATH=""
|
|
ICON_180_PATH=""
|
|
ICON_1024_PATH=""
|
|
DEST_DIR_PATH=`pwd`/../../ios/Runner/Assets.xcassets/AppIcon.appiconset
|
|
|
|
case $APP_IOS_TYPE in
|
|
"monero.com")
|
|
ICON_120_PATH=`pwd`/../../assets/images/monero.com_icon_120.png
|
|
ICON_180_PATH=`pwd`/../../assets/images/monero.com_icon_180.png
|
|
ICON_1024_PATH=`pwd`/../../assets/images/monero.com_icon_1024.png;;
|
|
"cakewallet")
|
|
ICON_120_PATH=`pwd`/../../assets/images/cakewallet_icon_120.png
|
|
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png
|
|
ICON_1024_PATH=`pwd`/../../assets/images/cakewallet_icon_1024.png;;
|
|
"haven")
|
|
ICON_120_PATH=`pwd`/../../assets/images/cakewallet_icon_120.png
|
|
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png
|
|
ICON_1024_PATH=`pwd`/../../assets/images/cakewallet_icon_1024.png;;
|
|
esac
|
|
|
|
rm $DEST_DIR_PATH/app_icon_120.png
|
|
rm $DEST_DIR_PATH/app_icon_180.png
|
|
rm $DEST_DIR_PATH/app_icon_1024.png
|
|
ln -s $ICON_120_PATH $DEST_DIR_PATH/app_icon_120.png
|
|
ln -s $ICON_180_PATH $DEST_DIR_PATH/app_icon_180.png
|
|
ln -s $ICON_1024_PATH $DEST_DIR_PATH/app_icon_1024.png |