quit -> exit as screen is not accessible in alt instance

when using makeSingleInstance
which leads to a weird error
Unhandled exception { Error: Cannot find module '../screen'

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/4030/head
Michael Telatynski 2017-05-26 09:49:23 +01:00
parent 0fb6a305a3
commit e63baf62c4
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ const shouldQuit = electron.app.makeSingleInstance((commandLine, workingDirector
if (shouldQuit) {
console.log("Other instance detected: exiting");
electron.app.quit()
electron.app.exit();
}
electron.app.on('ready', () => {