diff --git a/app/main.ts b/app/main.ts index 55a395dbb..9b91e98dd 100644 --- a/app/main.ts +++ b/app/main.ts @@ -1138,7 +1138,7 @@ async function showScreenShareWindow(sourceName: string) { ...defaultWebPrefs, nodeIntegration: false, nodeIntegrationInWorker: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/screenShare/preload.js'), }, @@ -1192,7 +1192,7 @@ async function showAbout() { ...defaultWebPrefs, nodeIntegration: false, nodeIntegrationInWorker: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/about/preload.js'), nativeWindowOpen: true, @@ -1240,7 +1240,7 @@ async function showSettingsWindow() { ...defaultWebPrefs, nodeIntegration: false, nodeIntegrationInWorker: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/settings/preload.js'), nativeWindowOpen: true, @@ -1379,7 +1379,7 @@ async function showDebugLogWindow() { ...defaultWebPrefs, nodeIntegration: false, nodeIntegrationInWorker: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/debuglog/preload.js'), nativeWindowOpen: true, @@ -1443,7 +1443,7 @@ function showPermissionsPopupWindow(forCalling: boolean, forCamera: boolean) { ...defaultWebPrefs, nodeIntegration: false, nodeIntegrationInWorker: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/permissions/preload.js'), nativeWindowOpen: true, @@ -1784,7 +1784,7 @@ app.on('ready', async () => { webPreferences: { ...defaultWebPrefs, nodeIntegration: false, - sandbox: true, + sandbox: false, contextIsolation: true, preload: join(__dirname, '../ts/windows/loading/preload.js'), },