Revert "fix Connection Error when using in-app-menu"

This reverts commit 8b6c60bb17.
This commit is contained in:
Araxeus
2021-04-03 23:46:16 +03:00
parent 8b6c60bb17
commit 2e6fffc903

View File

@ -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