Skip to content

Instantly share code, notes, and snippets.

@holmesal
Created August 10, 2014 07:07
Show Gist options
  • Save holmesal/5e33c8ce6cf76a7d2058 to your computer and use it in GitHub Desktop.
Save holmesal/5e33c8ce6cf76a7d2058 to your computer and use it in GitHub Desktop.
Building mac app from node-webkit
Can use sips to convert any png to icns, as long as it's as long as it's either 128x128, 256x256 or 512x512 pixel.
See here: http://portingteam.com/topic/4750-icns-conversion-with-sips/
sips -s format icns "icon.png" --out "icon.icns"
Can use yoursway-create-dmg to bundle like so:
./create-dmg --volname "Shortwave" --window-size 490 510 --background doge.jpg --icon Shortwave.app 100 245 --app-drop-link 390 245 --volicon icon.icns Shortwave.dmg /Users/alonsoholmes/developer/shortwave-web/releases/shortwave/osx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment