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

[Feature Request] Allow overriding OS in RegisterUriScheme #163

Open
RuiNtD opened this issue Dec 2, 2021 · 1 comment
Open

[Feature Request] Allow overriding OS in RegisterUriScheme #163

RuiNtD opened this issue Dec 2, 2021 · 1 comment

Comments

@RuiNtD
Copy link
Contributor

RuiNtD commented Dec 2, 2021

Hello. In my application's environment, Environment.OSVersion.Platform is returning Unix on Mac, which is causing RegisterUriScheme to throw a "No such file or directory" exception. I have a separate way of detecting Windows, Mac, and Linux in my code and it would be nice if I could pass that into RegisterUriScheme.

@Lachee
Copy link
Owner

Lachee commented Dec 6, 2021

you could make a PR to fix the registration scheme for Mac.

Environment shouldn't be returning unix for mac, that is why MacOSX exists. In saying that, I have actually not tested this library in MacOS yet.

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

No branches or pull requests

2 participants