diff --git a/afterSignHook.js b/afterSignHook.js index 1a281cca..d071ea85 100644 --- a/afterSignHook.js +++ b/afterSignHook.js @@ -1,10 +1,11 @@ 'use strict' const { notarize } = require('electron-notarize') +const { ELECTRON_SKIP_NOTARIZATION } = process.env async function main(context) { const { electronPlatformName, appOutDir } = context - if (electronPlatformName !== 'darwin') { + if (electronPlatformName !== 'darwin' || ELECTRON_SKIP_NOTARIZATION === 'true') { return }