Use mode: 'detach'

This commit is contained in:
Nathan Bierema 2021-06-03 00:18:01 -04:00
parent ebc7a5be7c
commit f1cd44d4d5

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' });
});