From f71a58ea85f6272ed6dc03702e84b3b1a7424790 Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 17 Sep 2024 20:02:29 +0200 Subject: [PATCH] set ElectronTeamID --- electron-builder.yml | 1 + scripts/build-macos.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/electron-builder.yml b/electron-builder.yml index 12c12bcf..e83658b0 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -51,6 +51,7 @@ mac: entitlements: "./build/mac/entitlements.plist" entitlementsInherit: "./build/mac/entitlements.plist" extendInfo: + ElectronTeamID: ${teamId} NSRequiresAquaSystemAppearance: false NSCameraUsageDescription: "A subprocess requests access to the device's camera." NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone." diff --git a/scripts/build-macos.mjs b/scripts/build-macos.mjs index 1084621b..015f60d2 100755 --- a/scripts/build-macos.mjs +++ b/scripts/build-macos.mjs @@ -24,6 +24,7 @@ builder({ config: { extraMetadata: { version: vars.version, + teamId: process.env.APPLE_TEAM_ID, }, mac: { identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,