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

Detect core version on Windows platforms #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alanhamlett
Copy link
Contributor

@alanhamlett alanhamlett commented Dec 3, 2024

Fixes parsing version number from ver output when Windows default language isn't English. In that case, the output could be for ex:

Microsoft Windows [Versión 10.0.17134.228]

Before the fix, strings.Index(osStr, "[Version") wouldn't match the output correctly resulting in Core: "unknown".

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.

1 participant