Socket
Socket
Sign inDemoInstall

electron-builder-notarize-pkg

Package Overview
Dependencies
21
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    electron-builder-notarize-pkg

> Notarize Electron applications using electron-builder


Version published
Weekly downloads
316
decreased by-9.2%
Maintainers
1
Install size
241 kB
Created
Weekly downloads
 

Readme

Source

electron-builder-notarize-pkg Build Status

Notarize Electron applications using electron-builder

This package is meant to be used along side electron-builder and electron-builder-notarize

Install

# npm
npm i electron-builder-notarize-pkg --save-dev

# yarn
yarn add electron-builder-notarize-pkg --dev

Usage

In your electron-builder config:

{
	...
  "afterAllArtifactBuild": "electron-builder-notarize-pkg",
}

You will also need to authenticate yourself, either with your Apple ID or using an API key. This is done by setting the corresponding environment variables.

Apple ID

  • APPLE_ID: The username of your Apple developer account.
  • APPLE_ID_PASSWORD: An app-specific password. You can create one at appleid.apple.com.

API Key

  • API_KEY_ID: The ID of your App Store Connect API key, which can be generated here.
  • API_KEY_ISSUER_ID: The issuer ID of your API key, which can be looked up on the same site.

You will also need the API key .p8 file at the correct location on your file system. See electron-notarize's docs for details on this setup.

Multiple Teams

If your developer account is a member of multiple teams or organizations, you might see an error. In this case, you need to provide your Team Short Name as an environment variable:

export TEAM_SHORT_NAME=XXXXXXXXX

Credits

This package is inspired by this wiki

License

MIT

FAQs

Last updated on 09 Sep 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc