diff --git a/npm/install.js b/npm/install.js index cf9d57037a00..5ec84203b8b8 100755 --- a/npm/install.js +++ b/npm/install.js @@ -29,7 +29,7 @@ var paths = { win32: 'dist/electron.exe' } -if (!paths[platform]) throw new Error('Unknown platform: ' + platform) +if (!paths[platform]) throw new Error('Electron builds are not available on platform: ' + platform) if (installedVersion === version && fs.existsSync(path.join(__dirname, paths[platform]))) { process.exit(0)