diff --git a/D.icns b/D.icns index 45c17d03..f641b166 100644 Binary files a/D.icns and b/D.icns differ diff --git a/D.ico b/D.ico new file mode 100644 index 00000000..e1e9d89b Binary files /dev/null and b/D.ico differ diff --git a/D.sh b/D.sh index c1b5217e..6ae3b30f 100755 --- a/D.sh +++ b/D.sh @@ -1,12 +1,12 @@ #!/bin/bash -rm D.icns - -for S in 16 32 48 128 256 512; do -convert D.png -resize ${S}x${S} icns_${S}px.png - +for S in 16 24 32 48 128 256 512; do + convert D.png -resize ${S}x${S} D$S.png done -png2icns D.icns icns_*px.png +# http://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include +convert D{16,24,32,48,256}.png D.ico + +png2icns D.icns D{16,32,48,128,256,512}.png > /dev/null -rm icns_*px.png +rm D[0-9]*.png