launch debug window detatched

This commit is contained in:
HorizonCode 2022-10-16 16:06:34 +02:00
parent b84ddaf1b7
commit 1c6c9a2d6e

View File

@ -33,7 +33,9 @@ module.exports = {
window.webContents.setUserAgent("EZPPLauncher"); window.webContents.setUserAgent("EZPPLauncher");
attachTitlebarToWindow(window); attachTitlebarToWindow(window);
window.webContents.openDevTools(); window.webContents.openDevTools({
mode: "detach"
});
return window; return window;
}, },