GithubHelp home page GithubHelp logo

isabella232 / node-codesign Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mongodb-js/node-codesign

0.0 0.0 0.0 142 KB

Sign Node.js apps for MacOS.

License: Apache License 2.0

JavaScript 100.00%

node-codesign's Introduction

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

node-codesign's People

Contributors

addaleax avatar chrisbarless avatar durran avatar greenkeeper[bot] avatar imlucas avatar mcasimir avatar pzrq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.