Skip to content

Commit

Permalink
Switch to @electron/notarize
Browse files Browse the repository at this point in the history
`electron-notarize` has been deprecated
  • Loading branch information
alts committed Jun 6, 2024
1 parent 6c27c47 commit 0232b1c
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 4 deletions.
102 changes: 101 additions & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"cross-env": "^7.0.3",
"css-loader": "^5.2.4",
"electron": "^22.3.27",
"electron-notarize": "^1.0.0",
"@electron/notarize": "^2.3.2",
"electron-packager": "^15.2.0",
"file-loader": "^6.2.0",
"happypack": "^5.0.1",
Expand Down
5 changes: 3 additions & 2 deletions release/packaging/darwin.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ async function sign(cx, packageDir) {
} else {
console.log("Notarizing...");
await measure("electron-notarize", async () => {
require("debug").enable("electron-notarize");
const { notarize } = require("electron-notarize");
require("debug").enable("@electron/notarize");
const { notarize } = require("@electron/notarize");
await notarize({

appBundleId: appBundleId(),
appPath: appBundle,
appleId: "[email protected]",
Expand Down

0 comments on commit 0232b1c

Please sign in to comment.