Keep nodeIntegration requirement (#120)

This commit is contained in:
Thomas Brouard 2021-07-19 13:30:25 +02:00
parent 4bb0726106
commit f29c5b00ae
2 changed files with 2 additions and 0 deletions

View file

@ -23,6 +23,7 @@ Electron-tabs uses webviews, so you first need to use the following `webPreferen
```js
const mainWindow = new electron.BrowserWindow({
webPreferences: {
nodeIntegration: true,
webviewTag: true
}
});

View file

@ -4,6 +4,7 @@ const app = electron.app;
app.on('ready', function () {
const mainWindow = new electron.BrowserWindow({
webPreferences: {
nodeIntegration: true,
webviewTag: true
}
});