-
Notifications
You must be signed in to change notification settings - Fork 89
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
windows 10 version not recognized #5
Comments
i'm making a PR |
xiorcal
added a commit
to xiorcal/beeep
that referenced
this issue
Jan 12, 2018
gen2brain
added a commit
that referenced
this issue
Jan 12, 2018
fixing issue #5 about windows 10 version not being recognized
We can't assume the client is always running Windows in English. On my platform,
>cmd ver < NUL | xxd
00000000: 4d69 6372 6f73 6f66 7420 5769 6e64 6f77 Microsoft Window
00000010: 7320 5bb0 e6b1 be20 3130 2e30 2e31 3632 s [.... 10.0.162
00000020: 3939 2e31 3932 5d0d 0a28 6329 2032 3031 99.192]..(c) 201
00000030: 3720 4d69 6372 6f73 6f66 7420 436f 7270 7 Microsoft Corp
00000040: 6f72 6174 696f 6ea1 a3b1 a3c1 f4cb f9d3 oration.........
... The best fix should be querying registry directly instead of using this trick. I'll try to make a PR soon. |
Equim-chan
added a commit
to Equim-chan/beeep
that referenced
this issue
Feb 9, 2018
gen2brain
added a commit
that referenced
this issue
Feb 9, 2018
windows: query version from registry, fix #5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi!
trying to use a basic
err := beeep.Notify("Title", "Message body", "assets/icon128.png")
I go t the following panic :
panic: exec: "msg": executable file not found in %PATH%
I dug a little and found that
getWindowsVersionString()
returns unknown on my computeroutputs
seems to me that it comes from the lower case "version" instead of the expected "Version"
The text was updated successfully, but these errors were encountered: