Merge pull request #3727 from vector-im/dbkr/warn_when_single_instance_quit

Warn when exiting due to single-instance
This commit is contained in:
David Baker 2017-04-25 11:18:19 +01:00 committed by GitHub
commit bf88620581
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ const shouldQuit = electron.app.makeSingleInstance((commandLine, workingDirector
});
if (shouldQuit) {
console.log("Other instance detected: exiting");
electron.app.quit()
}