Allow installer build to be skipped by the packager
This commit is contained in:
parent
6183acc30a
commit
d2d21db042
|
@ -76,6 +76,10 @@ require('electron-packager')({
|
||||||
osxSign: process.argv.length > 2 ? {identity: process.argv[2]} : false,
|
osxSign: process.argv.length > 2 ? {identity: process.argv[2]} : false,
|
||||||
prune: false
|
prune: false
|
||||||
}).then((appPaths) => {
|
}).then((appPaths) => {
|
||||||
|
if (process.env.SKIP_INSTALLER) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(process.platform === 'win32') {
|
if(process.platform === 'win32') {
|
||||||
console.log('Creating Windows installer');
|
console.log('Creating Windows installer');
|
||||||
const icon = path.join(__dirname, 'build', 'icon.ico');
|
const icon = path.join(__dirname, 'build', 'icon.ico');
|
||||||
|
|
Loading…
Reference in New Issue