diff --git a/.gitignore b/.gitignore index 9eae81c50..83f5c49a3 100644 --- a/.gitignore +++ b/.gitignore @@ -117,5 +117,6 @@ cw_haven/** lib/bitcoin/bitcoin.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/ diff --git a/assets/images/cake_wallet_logo.png b/assets/images/cake_wallet_logo.png new file mode 100644 index 000000000..bf6896ad2 Binary files /dev/null and b/assets/images/cake_wallet_logo.png differ diff --git a/assets/images/cakewallet_icon_120.png b/assets/images/cakewallet_icon_120.png new file mode 100644 index 000000000..5605b29b4 Binary files /dev/null and b/assets/images/cakewallet_icon_120.png differ diff --git a/assets/images/cakewallet_icon_180.png b/assets/images/cakewallet_icon_180.png new file mode 100644 index 000000000..cae8aa2ee Binary files /dev/null and b/assets/images/cakewallet_icon_180.png differ diff --git a/assets/images/monero.com_icon_120.png b/assets/images/monero.com_icon_120.png new file mode 100644 index 000000000..5d06db985 Binary files /dev/null and b/assets/images/monero.com_icon_120.png differ diff --git a/assets/images/monero.com_icon_180.png b/assets/images/monero.com_icon_180.png new file mode 100644 index 000000000..9ce888103 Binary files /dev/null and b/assets/images/monero.com_icon_180.png differ diff --git a/assets/images/monero.com_logo.png b/assets/images/monero.com_logo.png new file mode 100644 index 000000000..ecc703781 Binary files /dev/null and b/assets/images/monero.com_logo.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png deleted file mode 100644 index cc95df4ed..000000000 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png and /dev/null differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png deleted file mode 100644 index 71e2cadc1..000000000 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png and /dev/null differ diff --git a/scripts/ios/app_icon.sh b/scripts/ios/app_icon.sh new file mode 100755 index 000000000..ddf432804 --- /dev/null +++ b/scripts/ios/app_icon.sh @@ -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 +