mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
Wrong negation
This commit is contained in:
parent
d6aa415312
commit
19c9f7574f
@ -65,7 +65,7 @@ const shouldQuit = app.makeSingleInstance((argv) => {
|
|||||||
processProtocolAction(argv);
|
processProtocolAction(argv);
|
||||||
});
|
});
|
||||||
|
|
||||||
let allowMultiInstance = getCmdLineArg(process.argv, '--multiInstance', true) != null || !isDevEnv;
|
let allowMultiInstance = getCmdLineArg(process.argv, '--multiInstance', true) != null || isDevEnv;
|
||||||
|
|
||||||
// quit if another instance is already running, ignore for dev env or if app was started with multiInstance flag
|
// quit if another instance is already running, ignore for dev env or if app was started with multiInstance flag
|
||||||
if (!allowMultiInstance && shouldQuit) {
|
if (!allowMultiInstance && shouldQuit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user