1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-05 00:39:09 +01:00
GPXSee/icons/formats/scripts/ico.sh

11 lines
257 B
Bash
Raw Normal View History

#!/bin/bash
while read e; do
IFS=":"; set $e
EXT=`echo $1 | tr /a-z/ /A-Z/`
sed -e "s/\$EXT/$EXT/" -e "s/\$COLOR/$2/" icon-template.svg > $1.svg
2021-01-06 19:27:28 +01:00
convert -density 400 -background none $1.svg -define icon:auto-resize $1.ico
2018-04-14 20:30:44 +02:00
rm $1.svg
done < extensions