Create icons - Jesus89/grunt-appimage GitHub Wiki
The Icons file structure can be easily created using ImageMagick:
#!/bin/bash
SIZES=( "16x16" "32x32" "64x64" "128x128" "256x256" )
for SIZE in "${SIZES[@]}"
do
echo "Create $SIZE icons"
mkdir -p $SIZE/apps
mkdir -p $SIZE/mimetypes
convert icon.svg -resize $SIZE $SIZE/apps/icon.png
cp $SIZE/apps/icon.png $SIZE/mimetypes/icon.png
done
echo "Done!"
$ ./create_icons.sh
Create 16x16 icons
Create 32x32 icons
Create 64x64 icons
Create 128x128 icons
Create 256x256 icons
Done!