Browse Source

fix(electron-settings): Drop ineffectual nodeintegration setting

The actual nodeintegration setting is nested under webPreferences:
https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions

If you set it there, Zap doesn't run, because process is no longer available in
app.html. Use of process in app.html is a barrier to other security settings -
sandbox and contextIsolation.
https://github.com/electron/electron/blob/master/docs/tutorial/security.md#checklist
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
16d05b40cd
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 1
      app/main.dev.js

1
app/main.dev.js

@ -82,7 +82,6 @@ app.on('ready', async () => {
mainWindow = new BrowserWindow({
show: false,
frame: false,
nodeIntegration: false,
icon: icon
})

Loading…
Cancel
Save