Repository navigation
Electron v10 - #1017
Merged
Merged
Electron v10#1017
Conversation
sindresorhus
suggested changes
May 23, 2021
| app.setAsDefaultProtocolClient('kap'); | ||
| } | ||
|
|
||
| protocol.registerFileProtocol('file', (request, callback) => { |
Contributor
There was a problem hiding this comment.
Can you add a code comment about why this exists. Might be worth moving it into a util file.
Member
Author
There was a problem hiding this comment.
Moved to a util file and added a comment 👍
Contributor
|
Seems to be working well 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgraded to v9 originally, fixed the issues.
Then I saw with the end of support message here: https://www.electronjs.org/blog/electron-12-0
So I decided to try to go to v10 as well, only breaking change from 9 -> 10 was the explicit
enableRemoteModule: trueThis is a PR to the exports PR branch that is also open. Made a decent amount of changes so I didn't want to miss any issue in those in the version upgrades