Fix reloading unintentionally from devtools
This commit is contained in:
parent
8de3ba10bc
commit
b4946516d0
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user