The best way to handle this is to get the latest release from the GitHub API and use its version tag to build the download URL for your specific platform.
The release object has an associated assets JSON file containing the download links for each package, which you can use to avoid hard-coding the URL scheme.
Here is …
Read More