Steam enable debug

This commit is contained in:
Olivier Gagnon 2021-12-12 13:25:28 -05:00
parent eb77bf352c
commit cdeabfec0e
3 changed files with 12 additions and 6 deletions

@ -12,9 +12,6 @@ const debug = false;
function createWindow() {
const win = new BrowserWindow({
show: false,
webPreferences: {
devTools: debug,
},
});
win.removeMenu();
@ -84,6 +81,15 @@ function createWindow() {
},
],
},
{
label: "debug",
submenu: [
{
label: "activate",
click: () => win.webContents.openDevTools(),
},
],
},
]),
);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long