set ElectronTeamID

This commit is contained in:
Eugene 2024-09-17 20:02:29 +02:00
parent 6f451ab735
commit f71a58ea85
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ mac:
entitlements: "./build/mac/entitlements.plist" entitlements: "./build/mac/entitlements.plist"
entitlementsInherit: "./build/mac/entitlements.plist" entitlementsInherit: "./build/mac/entitlements.plist"
extendInfo: extendInfo:
ElectronTeamID: ${teamId}
NSRequiresAquaSystemAppearance: false NSRequiresAquaSystemAppearance: false
NSCameraUsageDescription: "A subprocess requests access to the device's camera." NSCameraUsageDescription: "A subprocess requests access to the device's camera."
NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone." NSMicrophoneUsageDescription: "A subprocess requests access to the device's microphone."

View file

@ -24,6 +24,7 @@ builder({
config: { config: {
extraMetadata: { extraMetadata: {
version: vars.version, version: vars.version,
teamId: process.env.APPLE_TEAM_ID,
}, },
mac: { mac: {
identity: !process.env.CI || process.env.CSC_LINK ? undefined : null, identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,