Icons for ios script

This commit is contained in:
M 2022-01-04 20:22:24 +02:00
parent c5b815fd04
commit 53a03294ca
10 changed files with 24 additions and 1 deletions

3
.gitignore vendored
View file

@ -117,5 +117,6 @@ cw_haven/**
lib/bitcoin/bitcoin.dart lib/bitcoin/bitcoin.dart
lib/monero/monero.dart lib/monero/monero.dart
ios/Runner/Assets.xcassets/AppIcon.appiconse/** ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png
android/app/src/main/res/ android/app/src/main/res/

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

22
scripts/ios/app_icon.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/sh
ICON_120_PATH=""
ICON_180_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;;
"cakewallet")
ICON_120_PATH=`pwd`/../../assets/images/cakewallet_icon_120.png
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png;;
esac
echo $ICON_120_PATH
echo $ICON_180_PATH
rm $DEST_DIR_PATH/app_icon_120.png
rm $DEST_DIR_PATH/app_icon_180.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