The goal is to modify the multicraft / minetest sources to run blockcolor on and to provide a legal and valid source to compile for windows, android, linux. The goal is to modify the multicraft / minetest sources to run blockcolor on and to provide a legal and valid source to compile for windows, android, linux. It may be that the project does not compile correctly or badly, I have not finished. Any help is welcome and I would soon open a forum for this.
16 lines
413 B
Bash
Executable File
16 lines
413 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Generates different AppIcon images with correct dimensions
|
|
# (brew package: imagemagick)
|
|
# (install: brew install imagemagick)
|
|
SIZES="76 120 152 167 180"
|
|
SRCFILE=icon.png
|
|
DSTDIR=BlockColor/BlockColor/Assets.xcassets/AppIcon.appiconset
|
|
|
|
for sz in $SIZES; do
|
|
echo "Creating ${sz}x${sz} icon"
|
|
convert -resize ${sz}x${sz} $SRCFILE $DSTDIR/AppIcon-${sz}.png
|
|
done
|
|
|
|
echo "App Icon create successful"
|