Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
up-to-date electron (vercel#25551)
Browse files Browse the repository at this point in the history
Bump up electron of an example, `with-electron-typescript` adding `contextIsolation`,  https://www.electronjs.org/docs/tutorial/context-isolation#context-isolation.
  • Loading branch information
tmtk75 authored Jun 3, 2021
1 parent 2662653 commit 519860b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/with-electron-typescript/electron-src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ app.on('ready', async () => {
height: 600,
webPreferences: {
nodeIntegration: false,
contextIsolation: false,
preload: join(__dirname, 'preload.js'),
},
})
Expand Down
2 changes: 1 addition & 1 deletion examples/with-electron-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/node": "^14.14.6",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.9",
"electron": "^10.1.5",
"electron": "^13",
"electron-builder": "^22.9.1",
"next": "latest",
"rimraf": "^3.0.0",
Expand Down

0 comments on commit 519860b

Please sign in to comment.