2022-01-04 18:22:24 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
ICON_120_PATH=""
|
|
|
|
ICON_180_PATH=""
|
2022-01-08 14:33:17 +00:00
|
|
|
ICON_1024_PATH=""
|
2022-01-04 18:22:24 +00:00
|
|
|
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
|
2022-01-08 14:33:17 +00:00
|
|
|
ICON_180_PATH=`pwd`/../../assets/images/monero.com_icon_180.png
|
|
|
|
ICON_1024_PATH=`pwd`/../../assets/images/monero.com_icon_1024.png;;
|
2022-01-04 18:22:24 +00:00
|
|
|
"cakewallet")
|
|
|
|
ICON_120_PATH=`pwd`/../../assets/images/cakewallet_icon_120.png
|
2022-01-08 14:33:17 +00:00
|
|
|
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png
|
|
|
|
ICON_1024_PATH=`pwd`/../../assets/images/cakewallet_icon_1024.png;;
|
2022-03-30 15:57:04 +00:00
|
|
|
"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;;
|
2022-01-04 18:22:24 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
rm $DEST_DIR_PATH/app_icon_120.png
|
|
|
|
rm $DEST_DIR_PATH/app_icon_180.png
|
2022-01-08 14:33:17 +00:00
|
|
|
rm $DEST_DIR_PATH/app_icon_1024.png
|
2022-01-04 18:22:24 +00:00
|
|
|
ln -s $ICON_120_PATH $DEST_DIR_PATH/app_icon_120.png
|
|
|
|
ln -s $ICON_180_PATH $DEST_DIR_PATH/app_icon_180.png
|
2022-01-08 14:33:17 +00:00
|
|
|
ln -s $ICON_1024_PATH $DEST_DIR_PATH/app_icon_1024.png
|