mode: 'detach'

This commit is contained in:
Nathan Bierema 2021-06-05 12:28:30 -04:00
parent 86ed9473d2
commit 349f4a27f8

View File

@ -14,5 +14,5 @@ app.on('ready', () => {
height: 100,
});
mainWindow.loadURL(`file://${__dirname}/index.html`);
mainWindow.openDevTools({ detach: true });
mainWindow.openDevTools({ mode: 'detach' });
});