Fix reloading unintentionally from devtools

This commit is contained in:
Cauli Tomaz
2019-07-29 13:07:47 +02:00
parent 8de3ba10bc
commit b4946516d0

View File

@@ -22,6 +22,8 @@ app.on('ready', () => {
webPreferences: { zoomFactor: 1.0, nodeIntegration: true, backgroundThrottling: false }
})
app.win.webContents.removeAllListeners('devtools-reload-page');
app.win.loadURL(`file://${__dirname}/sources/index.html`)
// app.inspect()