mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Wrong negation
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user