diff --git a/src/app/electron-main/main.ts b/src/app/electron-main/main.ts index 0750e6be9..4fb8a404f 100644 --- a/src/app/electron-main/main.ts +++ b/src/app/electron-main/main.ts @@ -52,11 +52,11 @@ function createWindow(): BrowserWindow { ? 'http://localhost:4200' : `file://${path.join(__dirname, '../../../src/workbench/browser/dist/index.html')}`; win.loadURL(file); - // if (['development'].includes(processEnv)) { - win.webContents.openDevTools({ - mode: 'undocked', - }); - // } + if (['development'].includes(processEnv)) { + win.webContents.openDevTools({ + mode: 'undocked', + }); + } UnitWorkerModule.setup({ view: win, });