Merge pull request #35 from sachaaaaa/multi-window

Allow multiple instances running for debugging
pull/36/head
sachaaaaa 7 years ago committed by GitHub
commit 2af2baa54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
{
"storageProfile": "development2",
"disableAutoUpdate": true,
"openDevTools": true
}

@ -96,7 +96,7 @@ function showWindow() {
}
}
if (!process.mas) {
if (!process.mas && !development) {
console.log('making app single instance');
const shouldQuit = app.makeSingleInstance(() => {
// Someone tried to run a second instance, we should focus our window

Loading…
Cancel
Save