From 8b1e3f21b3baad0f46317fac6ba808371d6b3804 Mon Sep 17 00:00:00 2001 From: Samuele De Tomasi Date: Sun, 7 Aug 2022 18:26:18 +0200 Subject: [PATCH] Update customWindow.ts https://github.com/electron/electron/pull/32868 --- src/electron/customWindow.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/electron/customWindow.ts b/src/electron/customWindow.ts index c71cfc2..06f146a 100644 --- a/src/electron/customWindow.ts +++ b/src/electron/customWindow.ts @@ -45,6 +45,7 @@ class CustomWindow { webPreferences: { nodeIntegration: false, contextIsolation: true, + sandbox: false, preload: path.join(__dirname, "preload.js"), }, }); @@ -73,6 +74,7 @@ class CustomWindow { webPreferences: { nodeIntegration: false, contextIsolation: true, + sandbox: false, preload: path.join(__dirname, "preload.js"), }, }); @@ -98,6 +100,7 @@ class CustomWindow { webPreferences: { nodeIntegration: false, contextIsolation: true, + sandbox: false, preload: path.join(__dirname, "preload.js"), }, });