From a324b8b1fe4eabda3119bfd6370ef2eac1dfab3c Mon Sep 17 00:00:00 2001 From: Flavio F Lima Date: Mon, 1 Apr 2024 11:51:08 +0100 Subject: [PATCH] [CI] Use Electron-builder builtin notarize tool --- electron-builder.yml | 2 ++ sign/afterSign.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index 6ab663ea93..9183d3ff0b 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -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: diff --git a/sign/afterSign.js b/sign/afterSign.js index dfb5126df3..bd08ceca1b 100644 --- a/sign/afterSign.js +++ b/sign/afterSign.js @@ -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")