Fix android app icon
|
@ -9,6 +9,7 @@
|
|||
<application
|
||||
android:name=".Application"
|
||||
android:label="${APP_NAME}"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:allowBackup="false"
|
||||
android:fullBackupContent="false"
|
||||
android:requestLegacyExternalStorage="true">
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_adaptive_back"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_adaptive_fore"/>
|
||||
</adaptive-icon>
|
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 932 B |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 539 B |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 27 KiB |
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_adaptive_back"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_adaptive_fore"/>
|
||||
</adaptive-icon>
|
BIN
assets/images/monerocom_android_icon/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 932 B |
After Width: | Height: | Size: 6.8 KiB |
BIN
assets/images/monerocom_android_icon/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 539 B |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 21 KiB |
|
@ -20,7 +20,7 @@ MONERO_COM_PACKAGE="com.monero.app"
|
|||
|
||||
CAKEWALLET_NAME="Cake Wallet"
|
||||
CAKEWALLET_VERSION="4.3.1"
|
||||
CAKEWALLET_BUILD_NUMBER=72
|
||||
CAKEWALLET_BUILD_NUMBER=74
|
||||
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
||||
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
||||
|
||||
|
|
|
@ -4,23 +4,29 @@ 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
|
||||
MONEROCOM_ICON_SET_PATH=$ASSETS_DIR/images/monerocom_android_icon
|
||||
CAKEWALLET_PATH=$ASSETS_DIR/images/cakewallet_android_icon.png
|
||||
CAKEWALLET_ICON_SET_PATH=$ASSETS_DIR/images/cakewallet_android_icon
|
||||
ANDROID_ICON=""
|
||||
ANDROID_ICON_DEST_PATH=$ANDROID_ICON_DIR/ic_launcher.png
|
||||
|
||||
ANDROID_ICON_SET=""
|
||||
ANDROID_ICON_SET_DEST_PATH=`pwd`/../../android/app/src/main/res
|
||||
|
||||
case $APP_ANDROID_TYPE in
|
||||
"monero.com")
|
||||
APP_LOGO=$ASSETS_DIR/images/monero.com_logo.png
|
||||
ANDROID_ICON=$MONERO_COM_PATH
|
||||
ANDROID_ICON_SET=$MONEROCOM_ICON_SET_PATH
|
||||
;;
|
||||
"cakewallet")
|
||||
APP_LOGO=$ASSETS_DIR/images/cakewallet_logo.png
|
||||
ANDROID_ICON=$CAKEWALLET_PATH
|
||||
;;
|
||||
APP_LOGO=$ASSETS_DIR/images/cakewallet_logo.png
|
||||
ANDROID_ICON=$CAKEWALLET_PATH
|
||||
ANDROID_ICON_SET=$CAKEWALLET_ICON_SET_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
|
||||
cp -a $ANDROID_ICON_SET/. $ANDROID_ICON_SET_DEST_PATH/
|
||||
|
|