@electron/notarize
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -29,2 +29,3 @@ "use strict"; | ||
const promise_retry_1 = __importDefault(require("promise-retry")); | ||
const check_signature_1 = require("./check-signature"); | ||
const helpers_1 = require("./helpers"); | ||
@@ -40,2 +41,3 @@ const legacy_1 = require("./legacy"); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield (0, check_signature_1.checkSignatures)({ appPath }); | ||
if (otherOptions.tool === 'legacy') { | ||
@@ -42,0 +44,0 @@ console.warn('Notarizing using the legacy altool system. The altool system will be disabled on November 1 2023. Please switch to the notarytool system before then.'); |
{ | ||
"name": "@electron/notarize", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Notarize your Electron app", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -55,5 +55,5 @@ Electron Notarize | ||
* ... or apiKey with apiIssuer: | ||
* `appleApiKey` String - Required for JWT authentication. See Note on JWT authentication below. | ||
* `appleApiKeyId` String - Required for JWT authentication. See Note on JWT authentication below. | ||
* `appleApiIssuer` String - Issuer ID. Required if `appleApiKey` is specified. | ||
* `appleApiKey` String - Absolute path to the `.p8` file containing the key. Required for JWT authentication. See Note on JWT authentication below. | ||
* `appleApiKeyId` String - App Store Connect API key ID, for example, `T9GPZ92M7K`. Required for JWT authentication. See Note on JWT authentication below. | ||
* `appleApiIssuer` String - Your App Store Connect API key issuer, for example, `c055ca8c-e5a8-4836-b61d-aa5794eeb3f4`. Required if `appleApiKey` is specified. | ||
* ... or keychain with keychainProfile: | ||
@@ -96,5 +96,5 @@ * `keychain` String - The name of the keychain or path to the keychain you stored notarization credentials in. | ||
You can obtain an API key from [Appstore Connect](https://appstoreconnect.apple.com/access/api). Create a key with _App Manager_ access. Note down the Issuer ID and download the `.p8` file. This file is your API key and comes with the name of `AuthKey_<api_key>.p8`. This is the string you have to supply when calling `notarize`. | ||
You can obtain an API key from [Appstore Connect](https://appstoreconnect.apple.com/access/api). Create a key with _App Manager_ access. Note down the Issuer ID and download the `.p8` file. This file is your API key and comes with the name of `AuthKey_<appleApiKeyId>.p8`. This is the string you have to supply when calling `notarize`. | ||
Based on the `ApiKey`, `altool` will look in the following places for that file: | ||
Based on the `ApiKey`, the legacy `altool` will look in the following places for that file: | ||
@@ -106,2 +106,4 @@ * `./private_keys` | ||
`notarytool` will not look for the key, and you must instead provide its path as the `appleApiKey` argument. | ||
## Notes on your Team Short Name | ||
@@ -123,4 +125,8 @@ | ||
If you use the new Notary Tool method you will need to set the `teamId` option. To get this ID, go to your [Apple Developer Account](https://developer.apple.com/account), then click on "Membership details", and there you will find your Team ID. This link should get you there directly: https://developer.apple.com/account#MembershipDetailsCard | ||
If you use the new Notary Tool method with `appleId`/`appleIdPassword` you will need to set the `teamId` option. To get this ID, go to your [Apple Developer Account](https://developer.apple.com/account), then click on "Membership details", and there you will find your Team ID. This link should get you there directly: https://developer.apple.com/account#MembershipDetailsCard | ||
## Debug | ||
[`debug`](https://www.npmjs.com/package/debug) is used to display logs and messages. You can use `export DEBUG=electron-notarize*` to log additional debug information from this module. | ||
## Example Usage | ||
@@ -127,0 +133,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63419
30
798
144