Skip to content

Commit

Permalink
upgrade electron to v10
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Oct 7, 2022
1 parent a4cb423 commit eb06161
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"babel-jest": "^26.3.0",
"babel-plugin-component": "^1.1.1",
"conventional-changelog-eslint": "^3.0.9",
"electron": "^9.0.0",
"electron": "^10.0.0",
"eslint": "^7.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-friendly-formatter": "^4.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function createWindow() {
useContentSize: true,
width: 1000,
webPreferences: {
enableRemoteModule: true,
nodeIntegration: (process.env.ELECTRON_NODE_INTEGRATION as unknown) as
| boolean
| undefined,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6604,10 +6604,10 @@ electron-updater@^4.3.9:
lodash.isequal "^4.5.0"
semver "^7.3.5"

electron@^9.0.0:
version "9.4.4"
resolved "https://registry.yarnpkg.com/electron/-/electron-9.4.4.tgz#2a74a0655a74bd326216672c5ae6ed3a44451446"
integrity sha512-dcPlTrMWQu5xuSm6sYV42KK/BRIqh3erM8v/WtZqaDmG7pkCeJpvw26Dgbqhdt78XmqqGiN96giEe6A3S9vpAQ==
electron@^10.0.0:
version "10.4.7"
resolved "https://registry.yarnpkg.com/electron/-/electron-10.4.7.tgz#3ec7d46d02c0a6b4955f5fbf19a84d0e0c711184"
integrity sha512-je+AokZfKldI5GItXOx5pwBEAnbEqTrEPhaRUm2RN0OFBPXO+7wjJ3X+HvvlOHvKtfZrlU+57Dmkg1DseSFOPA==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
Expand Down

0 comments on commit eb06161

Please sign in to comment.