Skip to content

Commit

Permalink
[CI] Use Electron-builder builtin notarize tool
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioislima committed Apr 1, 2024
1 parent 6bf586b commit a324b8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ mac:
icon: build/icon.icns
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
notarize:
teamId: DLB2RYLUDX
extendInfo:
com.apple.security.cs.allow-jit: true
asarUnpack:
Expand Down
4 changes: 2 additions & 2 deletions sign/afterSign.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const notarize = require("./notarize").default
// const notarize = require("./notarize").default
const vmp = require("./vmp").default

exports.default = async function (context) {
await notarize(context);
// await notarize(context);
console.log("Finshed Signing, signing with VMP if on Windows. Platform:", context.packager.platform.name)
if (context.packager.platform.name === 'windows') {
console.log("Signing with VMP on Windows")
Expand Down

0 comments on commit a324b8b

Please sign in to comment.