Repository navigation
Link GitHub Pages downloads directly to platform installers - #4
Merged
Merged
Conversation
Resolve the latest release assets for the visitor's desktop platform, preserving explicit platform choices and release-page fallbacks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Ignore Pages content, root Markdown, and download-page tests for PR and main pushes while preserving all version-tag release builds. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Visitors should be able to download TLS Reader for their computer without first navigating the GitHub release page.
Adds browser-side platform detection to the site's download links and resolves installer URLs from the latest published GitHub release: universal macOS DMG, Windows x64 EXE, or Linux x64 AppImage. The getting-started page also offers explicit platform choices, and all downloads and release notes remain accessible.
Mobile or unrecognized systems, disabled JavaScript, missing assets, and API failures retain release-page links. API failures and missing assets display a fallback notice; requests time out after eight seconds. Direct links require a published release with matching installer assets; none were available during implementation.
Validation
node --test test/pages-downloads.test.cjs(7 tests passing)node --check docs/assets/downloads.jsgit diff --check