mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
Keep nodeIntegration requirement (#120)
This commit is contained in:
parent
4bb0726106
commit
f29c5b00ae
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
|
@ -4,6 +4,7 @@ const app = electron.app;
|
|||
app.on('ready', function () {
|
||||
const mainWindow = new electron.BrowserWindow({
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
webviewTag: true
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue