From bd1f0dac8403db4b775841b1ef32894ff2086dc8 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 20 Jan 2019 07:59:44 +0500 Subject: [PATCH] Do not open devtools on startup. --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 1ca69ce..e92e49d 100644 --- a/main.js +++ b/main.js @@ -34,7 +34,7 @@ function createWindow() { }); mainWindowState.manage(mainWindow); - mainWindow.webContents.openDevTools(); + //mainWindow.webContents.openDevTools(); mainWindow.loadURL('https://mail.yandex.ru/'); //mainWindow.loadFile(path.join(__dirname, "index.html")); mainWindow.on('closed', function () {