rustdesk/res/gen_icon.sh
2022-09-18 11:53:15 +08:00

8 lines
269 B
Bash

#!/bin/bash
for size in 16 32 64 128 256 512 1024; do
#inkscape -z -o $size.png -w $size -h $size icon.svg >/dev/null 2>/dev/null
convert icon.png -resize ${size}x${size} app_icon_$size.png
done
# from ImageMagick
#/bin/rm 16.png 32.png 48.png 128.png 256.png