Do not open devtools on startup.

This commit is contained in:
Stanislav Nikitin 2019-01-20 07:59:44 +05:00
parent 4a6db42ee3
commit bd1f0dac84
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -34,7 +34,7 @@ function createWindow() {
}); });
mainWindowState.manage(mainWindow); mainWindowState.manage(mainWindow);
mainWindow.webContents.openDevTools(); //mainWindow.webContents.openDevTools();
mainWindow.loadURL('https://mail.yandex.ru/'); mainWindow.loadURL('https://mail.yandex.ru/');
//mainWindow.loadFile(path.join(__dirname, "index.html")); //mainWindow.loadFile(path.join(__dirname, "index.html"));
mainWindow.on('closed', function () { mainWindow.on('closed', function () {