Skip to content

Commit

Permalink
Better Windows application icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Feb 15, 2017
1 parent e5d13be commit a3c3518
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Binary file modified D.icns
Binary file not shown.
Binary file added D.ico
Binary file not shown.
14 changes: 7 additions & 7 deletions D.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a3c3518

Please sign in to comment.