diff --git a/README.md b/README.md index 8b1fc99d..cf5cc007 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ To build for one platform: $ npm run package -- [platform] ``` -Where `[platform]` is `--darwin`, `--linux`, or `--win32`. +Where `[platform]` is `darwin`, `linux`, or `win32`. #### Windows build notes diff --git a/bin/package.js b/bin/package.js index 56918d32..d78865b6 100755 --- a/bin/package.js +++ b/bin/package.js @@ -15,11 +15,11 @@ var BUILD_NAME = config.APP_NAME + '-v' + config.APP_VERSION function build () { var platform = process.argv[2] - if (platform === '--darwin') { + if (platform === 'darwin') { buildDarwin(printDone) - } else if (platform === '--win32') { + } else if (platform === 'win32') { buildWin32(printDone) - } else if (platform === '--linux') { + } else if (platform === 'linux') { buildLinux(printDone) } else { buildDarwin(function (err, buildPath) {