beremiz
Clone
Summary
Browse
Changes
Graph
add '_' function to builtin dictionary at import time
2017-09-15, Andrey Skvortsov
6b4d0f4f2fbc
file is
Executable
add '_' function to builtin dictionary at import time
This allows to import many Beremiz python modules before calling
util.misc.InstallLocalRessources().
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done
cp ico24.png brz.png
convert ico*.png brz.ico
rm -f ico*.png