From 6ff85ebe544f254f94bb729d9b96d9d12839f701 Mon Sep 17 00:00:00 2001 From: rejas Date: Sat, 27 Feb 2021 13:19:16 +0100 Subject: [PATCH] Enable contextIsolation in electron Fixes warning when starting MM --- js/electron.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/electron.js b/js/electron.js index 3e791359..6c2f44a7 100644 --- a/js/electron.js +++ b/js/electron.js @@ -27,6 +27,7 @@ function createWindow() { y: 0, darkTheme: true, webPreferences: { + contextIsolation: true, nodeIntegration: false, zoomFactor: config.zoom },