2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-22 10:08:55 +00:00
Go to file
2015-03-22 19:54:01 -07:00
.DS_Store first working version 2015-03-22 19:51:19 -07:00
.gitignore first working version 2015-03-22 19:51:19 -07:00
cli.js first working version 2015-03-22 19:51:19 -07:00
index.js first working version 2015-03-22 19:51:19 -07:00
package.json update repo urls 2015-03-22 19:54:01 -07:00
readme.md first working version 2015-03-22 19:51:19 -07:00

atom-shell-packager

Build a distributable app from an atom-shell app source code directory. Currently only Mac OS is implemented but you can send PRs to implement windows/linux :)

NPM

installation

npm i atom-shell-packager

usage

$ atom-shell-packager my-app-source-dir AppName

This will:

  • Download latest version of Atom Shell
  • Create a Mac app in cwd called AppName.app

You should be able to double-click AppName.app to launch the app. If not, check your settings and try again.

options

these are optional CLI options you can pass in

  • out (default current working dir) - the dir to put the app into at the end
  • version (default hardcoded in source) - atom-shell version to use
  • app-bundle-id - bundle identifier to use in the app plist
  • helper-bundle-id - bundle identifier to use in the app helper plist

also, the entire options objects gets passed into the ncp instance when copying your app source directory into the app container, so you can pass in any ncp options you want as well