From 2e6fffc903953b2f4cd6c5321f36f22677572d37 Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Sat, 3 Apr 2021 23:46:16 +0300 Subject: [PATCH] Revert "fix Connection Error when using in-app-menu" This reverts commit 8b6c60bb178e3bc22c8c917f650153a960ea9ae6. --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index bc3db73a..478d2f86 100644 --- a/index.js +++ b/index.js @@ -93,7 +93,6 @@ function createMainWindow() { contextIsolation: false, preload: path.join(__dirname, "preload.js"), nodeIntegrationInSubFrames: true, - nodeIntegration: true, nativeWindowOpen: true, // window.open return Window object(like in regular browsers), not BrowserWindowProxy enableRemoteModule: true, affinity: "main-window", // main window, and addition windows should work in one process