-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
All custom protocol handlers are called on Windows #323
Comments
I have a fix for this and I believe this will fix tauri-apps/tauri#2124 |
Maybe I did something wrong - however after trying out your fix, I am still getting that annoying ERR_NAME_NOT_RESOLVED error every third time I open my application. |
@timonwimmer-git Did you try wry with commit after If it's on wry, I would really appreciate to see a minimum reproducible example. So I'll could track it more clearly. |
With commit 923d346! |
Thanks! Hmm, I'll also test with some examples to see if I can find out at the same time. |
With commit 923d346, just wry without tauri and using the custom_protocol.rs example (https://github.com/tauri-apps/wry/blob/renovate/windows-0.x/examples/custom_protocol.rs) I consistently got it working! |
I believe the
add_web_resource_requested
should only be called once and the protocol name needs to be parsed from the URL, calling the proper protocol handler. Currently all handlers are called.The text was updated successfully, but these errors were encountered: