node-codesign
Sign your apps on OSX.
Last updated 3 months ago by addaleax .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-codesign 
SYNC missed versions from official npm registry.

node codesign

Sign anything for MacOS.

Installation

# For use in npm scripts
npm i node-codesign --save-dev

# For use from cli
npm i node-codesign -g

Usage

To obtain a signing identity, join the Mac Developer Program. More info is available in the Mac Developer documentation.

Usage: node-codesign <path/to/file> <Identity>

Sign your electron apps on OSX.

Usage:
  node-codesign ./FooBar-darwin-x64/FooBar.app "Developer ID Application: Lucas Hrabovsky"

Args:
  <appPath>            Path to your file.
  <identity>           Keychain query of a Code Signing Identity obtained from Apple.

Options:
  --debug              Enable debug messages.
  --overwrite          Overwrite any existing DMG.
  -h --help            Show this screen.
  --version            Show version.

API

var codesign = require('node-codesign')
codesign(opts, function done (err, filePaths) { })

codesign(opts, callback)

opts

Required appPath - String The file.

identity - String SHA-1 signature or query (e.g. Developer ID Application <your_name>) of a Code Signing Identity obtained from Apple.

callback

err - Error Contains errors if any.

filePaths Array Path successfully signed and verified.

License

Apache 2.0

Current Tags

  • 0.3.2                                ...           latest (3 months ago)

3 Versions

  • 0.3.2                                ...           3 months ago
  • 0.3.1                                ...           4 months ago
  • 0.3.0                                ...           4 months ago

Copyright 2014 - 2016 © taobao.org |