From 1457a3f67100af3232b1a1cabaef8d58625d3234 Mon Sep 17 00:00:00 2001 From: nahkd123 Date: Sun, 27 Sep 2020 20:06:45 +0700 Subject: [PATCH] No longer automatically open DevTools --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b935560..cca5553 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,7 +14,7 @@ function init() { mainWindow.once("ready-to-show", () => { mainWindow.removeMenu(); mainWindow.show(); - mainWindow.webContents.openDevTools({mode: "bottom"}); + // mainWindow.webContents.openDevTools({mode: "bottom"}); // This will be used to display close buttons as well as additional options mainWindow.webContents.executeJavaScript("toggleElectronJS()", false);