electron-notarize
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -13,3 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
child.stderr.on('data', dataHandler); | ||
return new Promise(resolve => { | ||
return new Promise((resolve, reject) => { | ||
child.on('error', err => { | ||
reject(err); | ||
}); | ||
child.on('exit', code => { | ||
@@ -16,0 +19,0 @@ d(`cmd ${cmd} terminated with code: ${code}`); |
{ | ||
"name": "electron-notarize", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Notarize your Electron app", | ||
@@ -9,9 +9,9 @@ "main": "lib/index.js", | ||
"license": "MIT", | ||
"homepage": "https://github.com/electron/electron-notarize#readme", | ||
"homepage": "https://github.com/electron/notarize#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/electron/electron-notarize.git" | ||
"url": "https://github.com/electron/notarize.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/electron/electron-notarize/issues" | ||
"url": "https://github.com/electron/notarize/issues" | ||
}, | ||
@@ -38,3 +38,2 @@ "scripts": { | ||
"prettier": "^1.18.2", | ||
"semantic-release": "^17.2.3", | ||
"ts-jest": "^25.2.1", | ||
@@ -41,0 +40,0 @@ "typescript": "^3.6.4" |
@@ -6,3 +6,3 @@ Electron Notarize | ||
[](https://circleci.com/gh/electron/electron-notarize) | ||
[](https://circleci.com/gh/electron/notarize) | ||
[](https://npm.im/electron-notarize) | ||
@@ -37,6 +37,8 @@ | ||
3. [An app-specific password for your ADC account’s Apple ID](https://support.apple.com/HT204397). | ||
4. Your app may need to be signed with `hardened-runtime` and the following entitlements: | ||
4. Your app may need to be signed with `hardened-runtime`, including the following entitlement: | ||
1. `com.apple.security.cs.allow-jit` | ||
2. `com.apple.security.cs.allow-unsigned-executable-memory` | ||
If you are using Electron 11 or below, you must add the `com.apple.security.cs.allow-unsigned-executable-memory` entitlement too. | ||
When using version 12+, this entitlement should not be applied as it increases your app's attack surface. | ||
## API | ||
@@ -43,0 +45,0 @@ |
Sorry, the diff of this file is not supported yet
49627
9
589
133