Socket
Socket
Sign inDemoInstall

atom-shell-packager

Package Overview
Dependencies
21
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-shell-packager

package and distribute your atom-shell app in OS executables (.app, .exe, etc) via JS or CLI


Version published
Maintainers
3
Weekly downloads
1

Weekly downloads

Readme

Source

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

Build Status

For an example project using this, check out Monu

installation

# for use in npm scripts
npm i atom-shell-packager --save-dev

# for use from cli
npm i atom-shell-packager -g

# you also need atom-shell installed
npm i atom-shell

usage

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

This will:

  • Find the closest local version of atom-shell installed (using require.resolve)
  • Use that version of atom-shell to 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.

Be careful not to include node_modules you don't want into your final app. For example, do not include the node_modules/atom-shell-packager folder or node_modules/atom-shell. You can use --ignore=node_modules/atom-shell to ignore of these

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
  • ignore (default none) - do not copy files into App whose filenames regex .match this string
  • prune - runs npm prune --production on the app

FAQs

Last updated on 05 Apr 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc