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

Fix some tests on Windows #687

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Fix some tests on Windows #687

merged 1 commit into from
Dec 7, 2024

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Nov 30, 2024

As of #510, fetching the Kernel version is not supported on Windows.

As of ximion#510, fetching the Kernel version is not supported on
Windows.
@ximion
Copy link
Owner

ximion commented Dec 7, 2024

This is fine for now, as it fixes the tests that will never pass as the respective functionality is not implemented on Windows.
In the long run though, it would actually be nice to get Windows properly supported...

Thanks for the patch!

@ximion ximion merged commit 5a0a1d2 into ximion:main Dec 7, 2024
10 checks passed
@QuLogic QuLogic deleted the win-tests branch December 7, 2024 21:23
@QuLogic
Copy link
Contributor Author

QuLogic commented Dec 7, 2024

Unfortunately, I couldn't find a consistent API for doing so. They have GetVersionEx, but it's deprecated, and follows the application manifest, not Windows (so if you manifest for Windows 8, you get 8, regardless of where it's running.) And then a bunch of IsVersionXYZOrGreater functions...

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

Successfully merging this pull request may close these issues.

2 participants