forked from shadowsocks/shadowsocks-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
9 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,19 @@ | ||
#!/bin/bash | ||
|
||
LAST=`pwd` | ||
pushd /tmp | ||
mkdir icon.iconset | ||
sips -z 16 16 $LAST/icon.png --out icon.iconset/icon_16x16.png | ||
sips -z 32 32 $LAST/icon.png --out icon.iconset/[email protected] | ||
sips -z 32 32 $LAST/icon.png --out icon.iconset/icon_32x32.png | ||
sips -z 64 64 $LAST/icon.png --out icon.iconset/[email protected] | ||
sips -z 128 128 $LAST/icon.png --out icon.iconset/icon_128x128.png | ||
sips -z 256 256 $LAST/icon.png --out icon.iconset/[email protected] | ||
sips -z 256 256 $LAST/icon.png --out icon.iconset/icon_256x256.png | ||
sips -z 512 512 $LAST/icon.png --out icon.iconset/[email protected] | ||
sips -z 512 512 $LAST/icon.png --out icon.iconset/icon_512x512.png | ||
cp $LAST/icon.png icon.iconset/[email protected] | ||
iconutil -c icns icon.iconset | ||
rm -R icon.iconset | ||
popd | ||
mv /tmp/icon.icns utils/shadowsocks.icns |
Binary file not shown.