Fix about, preferences, debug log windows

This commit is contained in:
Josh Perez 2023-01-13 14:24:00 -05:00 committed by GitHub
parent c26f7217ed
commit 11ce3c3d59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'),
},