images/genicons.sh
author Edouard Tisserant
Wed, 20 Mar 2019 11:34:41 +0100
branchsearch_in_CTN
changeset 2524 c80b0d864475
parent 2238 a01a3ed1af2c
child 3569 419f17564583
permissions -rwxr-xr-x
WIP adding searching capabilities in python files. was done :
- fixed stub CTN search results so that they can be accepted by search result panel
- worked on search result panel so that it can display those CTN results
- made search result panel display correctly stub search result, for variables and body matches
- EditProjectElement now opens CTN node as well as PlcOpen project nodes
#!/bin/sh

INKSCAPE=inkscape

for fname in `ls *.svg`; do
    for i in `cat $fname |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
    do
        if [ $i.png -nt $fname ]; then
 	    echo "Skip $i"
        else
	    rm  -f $i.png
	    echo "$INKSCAPE" $fname -z -e $i.png -i $i
	    "$INKSCAPE" $fname -z -e $i.png -i $i
        fi
    done
done

cp ico024.png brz.png
convert -compress none ico*.png brz.ico
rm -f ico*.png


convert -compress none poeico*.png poe.ico
rm -f poeico*.png