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

View File

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