disable node integration (#2049)

This commit is contained in:
Kendall Garner
2026-05-21 04:06:28 +00:00
committed by GitHub
parent 2d78c32a68
commit 2befcb4e74
4 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ async function createWindow(first = true): Promise<void> {
backgroundThrottling: false,
contextIsolation: true,
devTools: true,
nodeIntegration: true,
nodeIntegration: false,
preload: join(__dirname, '../preload/index.js'),
sandbox: false,
webSecurity: !store.get('ignore_cors'),