Rename create-installer option to create-windows-installer to match help

Signed-off-by: Antonio Scandurra <as-cii@github.com>
This commit is contained in:
Nathan Sobo 2016-08-15 08:05:57 -06:00 committed by Antonio Scandurra
parent c7ab2570c9
commit c9de91dc09

View File

@ -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) {