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,