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

Comparing version 2.0.0 to 2.1.0

9

cli.js

@@ -8,2 +8,11 @@ #!/usr/bin/env node

var protocolSchemes = [].concat(args.protocol || [])
var protocolNames = [].concat(args['protocol-name'] || [])
if (protocolSchemes && protocolNames && protocolNames.length === protocolSchemes.length) {
args.protocols = protocolSchemes.map(function (scheme, i) {
return {schemes: [scheme], name: protocolNames[i]}
})
}
if (!args.dir || !args.name) {

@@ -10,0 +19,0 @@ console.error('Usage: atom-shell-packager <sourcedir> <Appname>')

1

collaborators.md

@@ -6,3 +6,4 @@ ## Collaborators

<table><tbody><tr><th align="left">maxogden</th><td><a href="https://github.com/maxogden">GitHub/maxogden</a></td></tr>
<tr><th align="left">mafintosh</th><td><a href="https://github.com/mafintosh">GitHub/mafintosh</a></td></tr>
<tr><th align="left">remixz</th><td><a href="https://github.com/remixz">GitHub/remixz</a></td></tr>
</tbody></table>

@@ -60,2 +60,11 @@ var os = require('os')

if (opts.protocols) {
pl2.CFBundleURLTypes = pl1.CFBundleURLTypes = opts.protocols.map(function (protocol) {
return {
CFBundleURLName: protocol.name,
CFBundleURLSchemes: [].concat(protocol.schemes)
}
})
}
fs.writeFileSync(paths.info1, plist.build(pl1))

@@ -62,0 +71,0 @@ fs.writeFileSync(paths.info2, plist.build(pl2))

6

package.json
{
"name": "atom-shell-packager",
"version": "2.0.0",
"version": "2.1.0",
"description": "package and distribute your atom-shell app in OS executables (.app, .exe, etc) via JS or CLI",

@@ -26,3 +26,5 @@ "main": "index.js",

},
"devDependencies": {},
"devDependencies": {
"standard": "^3.3.2"
},
"scripts": {

@@ -29,0 +31,0 @@ "test": "standard"

@@ -14,4 +14,10 @@ # atom-shell-packager

```
npm i atom-shell-packager
npm i atom-shell # if you dont have it already
# 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
```

@@ -18,0 +24,0 @@

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