Fix about, preferences, debug log windows
This commit is contained in:
12
app/main.ts
12
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'),
|
||||
},
|
||||
|
Reference in New Issue
Block a user