Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 13 KiB |
@ -1,7 +1,10 @@ |
|||
#!/bin/sh |
|||
|
|||
echo "Building normally (important for copying files)" |
|||
sh ./Build.sh |
|||
sh ./Build.sh || exit $? |
|||
|
|||
echo "Creating symlink to SDL in Android/app/jni" |
|||
ln -s $(pwd)/Dependencies/gamelib/Dependencies/SDL $(pwd)/Android/app/jni/SDL |
|||
ln -s $(pwd)/Dependencies/gamelib/Dependencies/SDL $(pwd)/Android/app/jni/SDL || exit $? |
|||
|
|||
cd Android |
|||
./gradlew installDebug || exit $? |
|||
|
@ -1,12 +1,12 @@ |
|||
#!/bin/sh |
|||
|
|||
SRC_IMAGE=com.macoy.kitty-gridlock/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png |
|||
# SRC_IMAGE=com.macoy.kitty-gridlock/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png |
|||
SRC_IMAGE=assets/Icon.png |
|||
|
|||
echo "Updating icons in com.macoy.kitty-gridlock/app/src/main/res/ based on $SRC_IMAGE" |
|||
|
|||
convert $SRC_IMAGE -resize 72x72 com.macoy.kitty-gridlock/app/src/main/res/mipmap-hdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 48x48 com.macoy.kitty-gridlock/app/src/main/res/mipmap-mdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 96x96 com.macoy.kitty-gridlock/app/src/main/res/mipmap-xhdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 142x142 com.macoy.kitty-gridlock/app/src/main/res/mipmap-xxhdpi/ic_launcher.png |
|||
# Don't need to convert base image (leaving this here in case base image changes) |
|||
# convert -resize 192x192 com.macoy.kitty-gridlock/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 72x72 Android/app/src/main/res/mipmap-hdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 48x48 Android/app/src/main/res/mipmap-mdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 96x96 Android/app/src/main/res/mipmap-xhdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 142x142 Android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png |
|||
convert $SRC_IMAGE -resize 192x192 Android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png |
|||
|
After Width: | Height: | Size: 3.9 KiB |