mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
Merge pull request #144 from MCMicS/feature/electron17
Demo: upgrade to electron 17.1.2
This commit is contained in:
commit
d0fcb23e38
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
|
@ -5,6 +5,7 @@ app.on('ready', function () {
|
|||
const mainWindow = new electron.BrowserWindow({
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
webviewTag: true
|
||||
}
|
||||
});
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"author": "brrd",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^8.0.0"
|
||||
"electron": "^17.1.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue