Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to protocol.handle() #1612

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Switch to protocol.handle() #1612

merged 1 commit into from
Dec 11, 2023

Conversation

bendemboski
Copy link
Member

In Electron 25, protocol.interceptFileProtocol() is deprecated, so update our template/blueprint file to use the new protocol.handle() if present, and fall back on protocol.interceptFileProtocol() if not.

In Electron 25, `protocol.interceptFileProtocol()` is [deprecated](https://www.electronjs.org/docs/latest/breaking-changes#deprecated-protocolregisterinterceptbufferstringstreamfilehttpprotocol), so update our template/blueprint file to use the new `protocol.handle()` if present, and fall back on `protocol.interceptFileProtocol()` if not.
@RobbieTheWagner RobbieTheWagner merged commit 5c40706 into main Dec 11, 2023
11 checks passed
@RobbieTheWagner RobbieTheWagner deleted the protocol-handle branch December 11, 2023 17:25
@RobbieTheWagner
Copy link
Member

Thanks @bendemboski!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants