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?
to your account
In the old setup, we did server-side detection (Based on the User-Agent) what the most likely download is that you would be needing. In the new setup we cannot do this server-side anymore, so we need a client-side detection script for this.
Here we would like to see only 'win64' if you use Windows on a 64bit system. This greatly reduces the amount of bug-tickets because people downloaded the wrong binary.
The text was updated successfully, but these errors were encountered:
I guess something using navigator.userAgent should work ( https://www.w3schools.com/js/tryit.asp?filename=tryjs_nav_userAgent )
Sorry, something went wrong.
Possibly another idea is to use something like this:
Then we don't have to figure out all the quirks of Browsers :D
Best library I could find:
Does OS and Arch detection, and pretty well. Seems good maintained.
No branches or pull requests