Skip to content

Commit

Permalink
fix(mac): allow Mac Developer certs for non Mac App Store builds
Browse files Browse the repository at this point in the history
Mac Developer certificates can be used to code sign when not building for the Mac App Store

fixes electron-userland#6564
  • Loading branch information
regentcid434 committed Jun 20, 2022
1 parent 14503ce commit aa2381a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {

function getCertificateTypes(isMas: boolean, isDevelopment: boolean): CertType[] {
if (isDevelopment) {
return isMas ? ["Mac Developer", "Apple Development"] : ["Developer ID Application"]
return isMas ? ["Mac Developer", "Apple Development"] : ["Mac Developer", "Developer ID Application"]
}
return isMas ? ["Apple Distribution"] : ["Developer ID Application"]
}

0 comments on commit aa2381a

Please sign in to comment.