Unverified Commit aada946f authored by Tomotaka Sakuma's avatar Tomotaka Sakuma Committed by GitHub

up-to-date electron (#25551)

Bump up electron of an example, `with-electron-typescript` adding `contextIsolation`,  https://www.electronjs.org/docs/tutorial/context-isolation#context-isolation.
parent 7456fcf3
...@@ -16,6 +16,7 @@ app.on('ready', async () => { ...@@ -16,6 +16,7 @@ app.on('ready', async () => {
height: 600, height: 600,
webPreferences: { webPreferences: {
nodeIntegration: false, nodeIntegration: false,
contextIsolation: false,
preload: join(__dirname, 'preload.js'), preload: join(__dirname, 'preload.js'),
}, },
}) })
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"@types/node": "^14.14.6", "@types/node": "^14.14.6",
"@types/react": "^16.9.9", "@types/react": "^16.9.9",
"@types/react-dom": "^16.9.9", "@types/react-dom": "^16.9.9",
"electron": "^10.1.5", "electron": "^13",
"electron-builder": "^22.9.1", "electron-builder": "^22.9.1",
"next": "latest", "next": "latest",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment