Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-installer-codesign

Package Overview
Dependencies
Maintainers
30
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-installer-codesign

Sign your electron apps on OSX.

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
30
Created
Source

electron-installer-codesign travis npm

Sign your electron apps on OSX.

Installation

# For use in npm scripts
npm i electron-installer-codesign --save-dev

# For use from cli
npm i electron-installer-codesign -g

Usage

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

Usage: electron-installer-codesign <path/to/.app> <Identity>

Sign your electron apps on OSX.

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

Args:
  <appPath>            Path to your `.app` directory.
  <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('electron-installer-codesign')
codesign(opts, function done (err, filePaths) { })
codesign(opts, callback)
opts

Required appPath - String The .app directory generated by electron-packager.

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 Paths successfully signed and verified.

License

Apache 2.0

Keywords

FAQs

Package last updated on 01 Oct 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc