Skip to content

Link GitHub Pages downloads directly to platform installers - #4

Merged
thorrsson merged 2 commits into
mainfrom
thorrsson-platform-download-links
Oct 23, 2026
Merged

thorrsson merged 2 commits into
mainfrom
thorrsson-platform-download-links

Conversation

@thorrsson

Copy link
Copy Markdown
Owner

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.js
  • git diff --check

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>
@thorrsson
thorrsson merged commit 902993f into main Oct 23, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
ci — 76ec6273 Deployed Oct 23, 2026 by thorrsson via Build (Linux x64) #25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant