projects
/
shapestoy
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[shapestoy]
/
tools
/
mkdata
1
#!/bin/sh
2
3
mkicon()
4
{
5
sz=$1
6
src=datasrc/icon.png
7
dst=data/icon$sz.png
8
9
if [ ! -e $dst -o $src -nt $dst ]; then
10
echo "icon $src -> $dst"
11
convert -resize ${sz}x${sz} $src $dst
12
fi
13
}
14
15
mkicon 192
16
mkicon 144
17
mkicon 96
18
mkicon 72
19
mkicon 48
20
mkicon 36