comfycamp/generate_icons.sh
2023-10-01 11:53:03 +05:00

17 lines
449 B
Bash
Executable file

#!/bin/sh
cd public/favicon
convert vector.svg -resize 512x512 512.png
convert vector.svg -resize 192x192 192.png
convert vector.svg -resize 180x180 180.png
convert vector.svg -resize 32x32 32.png
convert vector.svg -resize 16x16 16.png
convert vector.svg \
\( -clone 0 -resize 16x16 \) \
\( -clone 0 -resize 32x32 \) \
\( -clone 0 -resize 48x48 \) \
-delete 0 -alpha remove -colors 256 shortcut.ico
cd -