-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add direct download button on the homepage #63
Comments
I found this script, this could help... (from https://stackoverflow.com/a/11219680/19866794)
This should help. License: |
Sadly this doesn't provide a solution as it cannot know what version is wanted: stable/insiders user/system and hat version is actually the one "up to date". If these are all known then it may be possible to pre-select "something reasonable". |
I general it seems more important to provide something like https://code.visualstudio.com/#alt-downloads, it seems this let the user do the actual choosing of the items above (of course VSCodium provides much more than MS, but the amount could be added using a similar UI) then a JavaScript (in the case of MS a non-free one, but we could do better) uses this information to look up the URL (we have the versions repo) and trigger the download. The "download button" referenced in the issue is then only a pre-selection for the user, something that could actually be done ith the same javascript (not acting on a click but on page load). |
I fixed and wrote some regular expressions for the filenames of VSCodium releases, when I was contributing for an open source software mirror backend. Can be helpful. Note that Output of all those regexs:
|
Just like how https://code.visualstudio.com/ has the download button right away on the homepage, based on the OS/Arch, VSCodium can add a similar button, rather than redirecting to the github releases page
The text was updated successfully, but these errors were encountered: