mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 16:55:31 +02:00
add message for another instance already running
This commit is contained in:
parent
6c5c3a856b
commit
35394289a4
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ var shouldQuit = app.makeSingleInstance(function(commandLine, workingDirectory)
|
|||
});
|
||||
|
||||
if (shouldQuit) {
|
||||
console.warn("Another instance of the Server Console is already running - this instance will quit.");
|
||||
app.quit();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue