Skip to content

Commit

Permalink
Set BrowserWindow webPreferences to default values (#27)
Browse files Browse the repository at this point in the history
* Remove nodeIntegration and contextIsolation values that are set to default

* Enable sandbox (by setting it to the default value)
  • Loading branch information
dguenther authored Nov 8, 2023
1 parent b4a81db commit ab36015
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main/main-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ class MainWindow {
titleBarStyle: "hidden",
webPreferences: {
preload: path.join(__dirname, "preload.js"),
nodeIntegration: false,
contextIsolation: true,
sandbox: false,
},
});

Expand Down

0 comments on commit ab36015

Please sign in to comment.