Skip to content

Commit

Permalink
Update Windows icon and add script for creating new icons in the future
Browse files Browse the repository at this point in the history
Add a script that takes the PNG application icon and converts it into a
multi-res Windows icon file.

Update the Windows icon file to match the new application icon.
  • Loading branch information
MKleusberg committed May 11, 2014
1 parent c33344a commit 1daff4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file modified src/iconwin.ico
Binary file not shown.
12 changes: 12 additions & 0 deletions src/tools/create_windows_icon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# This script depends on imagemagick being installed

for imgsize in 16 32 64 128
do
convert ../icons/sqlitebrowser.png -resize "$imgsize"x"$imgsize" -background transparent icon"$imgsize".png
files="$files icon$imgsize.png"
done

convert $files ../iconwin.ico
rm $files

0 comments on commit 1daff4a

Please sign in to comment.