diff --git a/script/build b/script/build index 527cd1cbb..3f8a50caa 100755 --- a/script/build +++ b/script/build @@ -63,11 +63,11 @@ dumpSymbols() console.log('Skipping code-signing. Specify the --code-sign option to perform code-signing'.gray) } } else if (process.platform === 'win32') { - if (argv.createInstaller) { + if (argv.createWindowsInstaller) { return createWindowsInstaller(packagedAppPath, argv.codeSign).then(() => packagedAppPath) } else { - console.log('Skipping creating installer. Specify the --create-installer option to create a Squirrel-based Windows installer.'.gray) + console.log('Skipping creating installer. Specify the --create-windows-installer option to create a Squirrel-based Windows installer.'.gray) } } else if (process.platform === 'linux') { if (argv.createDebianPackage) {