Skip to content

Commit

Permalink
try boolean conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nicole-obrien committed Oct 12, 2023
1 parent 0ac4bf2 commit ed3fac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/electron-builder-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ function getIconPath(): string {
async function notarizeMacos(appBundleId, appName): Promise<void> {
console.log('Notarizing macOS app', appBundleId, appName)
console.log('Notarization platform', process.platform)
console.log('Notarization env', process.env.MACOS_SKIP_NOTARIZATION)
if (process.platform !== 'darwin' || process.env.MACOS_SKIP_NOTARIZATION) {

if (process.platform !== 'darwin' || Boolean(process.env.MACOS_SKIP_NOTARIZATION)) {
console.log('Notarization skipped', process.platform, process.env.MACOS_SKIP_NOTARIZATION)
return
}
Expand Down

0 comments on commit ed3fac4

Please sign in to comment.