mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
chore: fix codesigning on macOS binaries
related issue: https://github.com/electron-userland/electron-builder/issues/8103 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
071967fbe4
commit
b03e80b68e
1 changed files with 6 additions and 1 deletions
|
|
@ -175,7 +175,6 @@ const config = {
|
|||
icon: './buildResources/icon-512x512.png',
|
||||
target: ['flatpak', 'tar.gz'],
|
||||
},
|
||||
afterSign: 'electron-builder-notarize',
|
||||
mac: {
|
||||
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-\${arch}.\${ext}`,
|
||||
hardenedRuntime: true,
|
||||
|
|
@ -222,6 +221,12 @@ if (process.env.AIRGAP_DOWNLOAD) {
|
|||
};
|
||||
}
|
||||
|
||||
if (process.env.APPLE_TEAM_ID) {
|
||||
config.mac.notarize = {
|
||||
teamId: process.env.APPLE_TEAM_ID,
|
||||
}
|
||||
}
|
||||
|
||||
const azureCodeSign = filePath => {
|
||||
if (!process.env.AZURE_KEY_VAULT_URL) {
|
||||
console.log('Skipping code signing, no environment variables set for that.');
|
||||
|
|
|
|||
Loading…
Reference in a new issue