mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +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) {
|
if (shouldQuit) {
|
||||||
|
console.warn("Another instance of the Server Console is already running - this instance will quit.");
|
||||||
app.quit();
|
app.quit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue