Enable contextIsolation in electron

Fixes warning when starting MM
This commit is contained in:
rejas 2021-02-27 13:19:16 +01:00
parent ea6eebd809
commit 6ff85ebe54

View File

@ -27,6 +27,7 @@ function createWindow() {
y: 0, y: 0,
darkTheme: true, darkTheme: true,
webPreferences: { webPreferences: {
contextIsolation: true,
nodeIntegration: false, nodeIntegration: false,
zoomFactor: config.zoom zoomFactor: config.zoom
}, },