This commit is contained in:
Josh Abernathy 2016-07-27 18:04:49 -04:00 committed by GitHub
parent 9e5dbc577b
commit 7d774daa19

View file

@ -12,7 +12,7 @@ let binaryPath = ''
if (process.platform === 'darwin') {
binaryPath = path.join(distPath, `${productName}.app`, 'Contents', 'MacOS', `${productName}`)
} else if (process.platform === 'win32') {
binaryPath = path.join(distPath, `${productName}`)
binaryPath = path.join(distPath, `${productName}.exe`)
} else {
console.error(`I dunno how to run on ${process.arch} :(`)
process.exit(1)