forked from CrackerCat/Debugtron1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicns.sh
16 lines (13 loc) · 799 Bytes
/
icns.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
mkdir tmp.iconset
sips -z 16 16 assets/icon.png --out tmp.iconset/icon_16x16.png
sips -z 32 32 assets/icon.png --out tmp.iconset/[email protected]
sips -z 32 32 assets/icon.png --out tmp.iconset/icon_32x32.png
sips -z 64 64 assets/icon.png --out tmp.iconset/[email protected]
sips -z 128 128 assets/icon.png --out tmp.iconset/icon_128x128.png
sips -z 256 256 assets/icon.png --out tmp.iconset/[email protected]
sips -z 256 256 assets/icon.png --out tmp.iconset/icon_256x256.png
sips -z 512 512 assets/icon.png --out tmp.iconset/[email protected]
sips -z 512 512 assets/icon.png --out tmp.iconset/icon_512x512.png
sips -z 1024 1024 assets/icon.png --out tmp.iconset/[email protected]
iconutil -c icns tmp.iconset -o assets/icon.icns