-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd57d80
commit d89d773
Showing
121 changed files
with
3,182 additions
and
3,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
IFS='.' read -ra ADDR <<< "$1" | ||
ICONSET=${ADDR[0]}.iconset | ||
mkdir $ICONSET | ||
sips -z 16 16 $1 --out $ICONSET/icon_16x16.png | ||
sips -z 32 32 $1 --out $ICONSET/[email protected] | ||
sips -z 32 32 $1 --out $ICONSET/icon_32x32.png | ||
sips -z 64 64 $1 --out $ICONSET/[email protected] | ||
sips -z 128 128 $1 --out $ICONSET/icon_128x128.png | ||
sips -z 256 256 $1 --out $ICONSET/[email protected] | ||
sips -z 256 256 $1 --out $ICONSET/icon_256x256.png | ||
sips -z 512 512 $1 --out $ICONSET/[email protected] | ||
sips -z 512 512 $1 --out $ICONSET/icon_512x512.png | ||
cp $1 $ICONSET/[email protected] | ||
iconutil -c icns $ICONSET | ||
rm -R $ICONSET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.