Demo: upgrade to electron 17.1.2

This commit is contained in:
mcmics 2022-03-22 20:07:09 +01:00
parent 969abae6a3
commit 4cdab4016c
No known key found for this signature in database
GPG key ID: 1EEBE671E3961601
3 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ Electron-tabs uses webviews, so you first need to use the following `webPreferen
const mainWindow = new electron.BrowserWindow({
webPreferences: {
nodeIntegration: true,
contextIsolation: false, // needed for Electron >= 12.x
webviewTag: true
}
});

View file

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

View file

@ -20,6 +20,6 @@
"author": "brrd",
"license": "MIT",
"devDependencies": {
"electron": "^8.0.0"
"electron": "^17.1.2"
}
}