Do not open devtools on startup.
This commit is contained in:
parent
4a6db42ee3
commit
bd1f0dac84
2
main.js
2
main.js
@ -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 () {
|
||||||
|
Reference in New Issue
Block a user