Skip to content

Commit

Permalink
Add _icon folder with temp(?) app icon and update build command in
Browse files Browse the repository at this point in the history
`package.json`
  • Loading branch information
Rey Dhuny committed Jan 7, 2016
1 parent e9d443e commit 67d1214
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions _icon/create_app_icns.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mkdir palin.iconset
sips -z 16 16 palin_1024.png --out palin.iconset/icon_16x16.png
sips -z 32 32 palin_1024.png --out palin.iconset/icon_16x16@2x.png
sips -z 32 32 palin_1024.png --out palin.iconset/icon_32x32.png
sips -z 64 64 palin_1024.png --out palin.iconset/icon_32x32@2x.png
sips -z 128 128 palin_1024.png --out palin.iconset/icon_128x128.png
sips -z 256 256 palin_1024.png --out palin.iconset/icon_128x128@2x.png
sips -z 256 256 palin_1024.png --out palin.iconset/icon_256x256.png
sips -z 512 512 palin_1024.png --out palin.iconset/icon_256x256@2x.png
sips -z 512 512 palin_1024.png --out palin.iconset/icon_512x512.png
cp palin_1024.png palin.iconset/icon_512x512@2x.png
iconutil -c icns palin.iconset
rm -R palin.iconset
Binary file added _icon/palin.icns
Binary file not shown.
Binary file added _icon/palin.pxm
Binary file not shown.
Binary file added _icon/palin_1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"electron-prebuilt": "^0.36.2"
},
"scripts": {
"build": "electron-packager . Palin --platform=darwin --arch=x64 --version=0.36.2 --overwrite --out=_build",
"build": "electron-packager . Palin --platform=darwin --arch=x64 --version=0.36.2 --icon=_icon/palin.icns --overwrite --out=_build",
"start": "electron ."
},
"author": "Rey Dhuny"
Expand Down

0 comments on commit 67d1214

Please sign in to comment.