Skip to content

Commit

Permalink
fix: Add support for Electron 12 (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 authored May 3, 2021
1 parent 2a187ab commit c1f055d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The `Menubar` class is an event emitter:

| menubar | Electron | Notes |
| -------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| 9.x.x | 9.x.x \| 10.x.x \| 11.x.x | |
| 9.x.x | 9.x.x \| 10.x.x \| 11.x.x \| 12.x.x | |
| 8.x.x | 8.x.x | |
| 7.x.x | 7.x.x | |
| 6.x.x | 4.x.x \| 5.x.x \| 6.x.x | Not recommended for [security reasons](https://electronjs.org/docs/tutorial/security#17-use-a-current-version-of-electron) |
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"native-menu"
],
"devDependencies": {
"electron": "^9.4.0"
"electron": "^12.0.6"
}
}
18 changes: 9 additions & 9 deletions examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
dependencies:
defer-to-connect "^1.0.1"

"@types/node@^12.0.12":
version "12.11.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.11.5.tgz#6c3c8dc84988aff11fd2a63d7b5fbf39eaaab7b1"
integrity sha512-LC8ALj/24PhByn39nr5jnTvpE7MujK8y7LQmV74kHYF5iQ0odCPkMH4IZNZw+cobKfSXqaC8GgegcbIsQpffdA==
"@types/node@^14.6.2":
version "14.14.43"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.43.tgz#26bcbb0595b305400e8ceaf9a127a7f905ae49c8"
integrity sha512-3pwDJjp1PWacPTpH0LcfhgjvurQvrZFBrC6xxjaUEZ7ifUtT32jtjPxEMMblpqd2Mvx+k8haqQJLQxolyGN/cQ==

buffer-from@^1.0.0:
version "1.1.1"
Expand Down Expand Up @@ -102,13 +102,13 @@ duplexer3@^0.1.4:
resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=

electron@^9.4.0:
version "9.4.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-9.4.0.tgz#c3c607e3598226ddbaaff8babcdffa8bb2210936"
integrity sha512-hOC4q0jkb+UDYZRy8vrZ1IANnq+jznZnbkD62OEo06nU+hIbp2IrwDRBNuSLmQ3cwZMVir0WSIA1qEVK0PkzGA==
electron@^12.0.6:
version "12.0.6"
resolved "https://registry.yarnpkg.com/electron/-/electron-12.0.6.tgz#2d72fa5a7db553dca3a771b22aa13a676122b4af"
integrity sha512-+fqhpdG6Fd6LzsizMdaSPC1I8tfsMT8/7fsYBgABED3hEWdus/rt6CQ54P3/EWZyQebtyHR6HXtlofUqKMV3KQ==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
"@types/node" "^14.6.2"
extract-zip "^1.0.3"

end-of-stream@^1.1.0:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"typescript": "^3.9.3"
},
"peerDependencies": {
"electron": "^9.0.0 || ^10.0.0 || ^11.0.0"
"electron": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"
}
}

0 comments on commit c1f055d

Please sign in to comment.