Giter Site home page Giter Site logo

beekeeper-studio / electron-builder-notarize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karaggeorge/electron-builder-notarize

0.0 2.0 0.0 35 KB

Notarize Electron applications using electron-builder

License: MIT License

JavaScript 100.00%

electron-builder-notarize's Introduction

electron-builder-notarize Build Status

Notarize Electron applications using electron-builder

Install

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

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

Usage

In your electron-builder config:

{
	...
	"afterSign": "electron-builder-notarize",
	"mac": {
		...
		"hardenedRuntime": true,
		"entitlements": "./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist",
	}
}

You can replace the entitlements file with your own, as long as those properties are included as well.

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 article

License

MIT

electron-builder-notarize's People

Contributors

karaggeorge avatar rathboma avatar sallar avatar samuelmeuli avatar

Watchers

 avatar  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.