-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #806 from complexdatacollective/fix/notarize-notar…
…ytool Fix/notarize notarytool
- Loading branch information
Showing
4 changed files
with
364 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
const fs = require('fs'); | ||
const path = require('path'); | ||
const electronNotarize = require('electron-notarize'); | ||
const electronNotarize = require('@electron/notarize'); | ||
|
||
async function note(params) { | ||
// Only notarize the app on Mac OS only. | ||
|
@@ -20,16 +20,19 @@ async function note(params) { | |
|
||
try { | ||
await electronNotarize.notarize({ | ||
tool: 'notarytool', | ||
appBundleId: 'NetworkCanvasArchitect', | ||
appPath, | ||
appleId: '[email protected]', | ||
appleIdPassword: '@keychain:AC_PASSWORD', | ||
appleApiKey: '~/.private_keys/AuthKey_J58L47W6H9.p8', | ||
appleApiKeyId: 'J58L47W6H9', // This is taken from the filename of the .p8 file in your icloud drive | ||
appleApiIssuer: '69a6de92-60bf-47e3-e053-5b8c7c11a4d1', | ||
}); | ||
|
||
console.log('Done notarizing Architect'); | ||
} catch (error) { | ||
console.error(error); | ||
} | ||
|
||
console.log('Done notarizing Architect'); | ||
} | ||
|
||
module.exports = note; |
Submodule network-canvas
updated
from f3ebc9 to d82bca
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.