Skip to content

Commit

Permalink
Release 0.1.3
Browse files Browse the repository at this point in the history
Major issue with CLI support fixed.
  • Loading branch information
sethlu committed Dec 22, 2015
1 parent 155f672 commit d5f5277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ function signApplication (opts, callback) {
}

module.exports = function sign (app, opts, cb) {
if (!opts) opts = {app: app}
if (!opts) opts = {}
if (!cb) cb = function () {}
opts.app = app
if (!opts.app) return cb(new Error('Path to aplication must be specified.'))
if (!fs.existsSync(opts.app)) return cb(new Error('Application not found.'))

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "electron-osx-sign",
"version": "0.1.1",
"version": "0.1.3",
"description": "Codesign for Electron-packed apps",
"main": "index.js",
"bin": {
"electron-sign": "cli.js"
"electron-osx-sign": "cli.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d5f5277

Please sign in to comment.