Skip to content

Commit

Permalink
Merge pull request #806 from complexdatacollective/fix/notarize-notar…
Browse files Browse the repository at this point in the history
…ytool

Fix/notarize notarytool
  • Loading branch information
jthrilly committed Jun 14, 2023
2 parents f8af559 + b36a988 commit 7bfa57b
Show file tree
Hide file tree
Showing 4 changed files with 364 additions and 351 deletions.
11 changes: 7 additions & 4 deletions build-resources/scripts/afterSignHook.js
Expand Up @@ -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.
Expand All @@ -20,16 +20,19 @@ async function note(params) {

try {
await electronNotarize.notarize({
tool: 'notarytool',
appBundleId: 'NetworkCanvasArchitect',
appPath,
appleId: 'developers@coda.co',
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;
2 changes: 1 addition & 1 deletion network-canvas
174 changes: 92 additions & 82 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7bfa57b

Please sign in to comment.