Wrong negation

This commit is contained in:
Daniel Gronberg 2017-11-02 16:36:21 +01:00
parent d6aa415312
commit 19c9f7574f

View File

@ -65,7 +65,7 @@ const shouldQuit = app.makeSingleInstance((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
if (!allowMultiInstance && shouldQuit) {