allow multiple instances running for debugging

pull/35/head
sachaaaaa 6 years ago
parent d6534e1bb8
commit f9efd0da68

@ -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