From d2d21db042319b7b54d24b47d4634f5f9630e7ba Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Mon, 15 Jul 2019 12:15:37 -0500 Subject: [PATCH] Allow installer build to be skipped by the packager --- electron/pack.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/electron/pack.js b/electron/pack.js index f96800d..bd7a62e 100644 --- a/electron/pack.js +++ b/electron/pack.js @@ -76,6 +76,10 @@ require('electron-packager')({ osxSign: process.argv.length > 2 ? {identity: process.argv[2]} : false, prune: false }).then((appPaths) => { + if (process.env.SKIP_INSTALLER) { + return; + } + if(process.platform === 'win32') { console.log('Creating Windows installer'); const icon = path.join(__dirname, 'build', 'icon.ico');