Skip to content

Put the downloads back: direct installer links, nothing automatic - #14

Merged
bherbruck merged 1 commit into
mainfrom
downloads-direct-links
Oct 25, 2026
Merged

bherbruck merged 1 commit into
mainfrom
downloads-direct-links

Conversation

@bherbruck

@bherbruck bherbruck commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

I'm putting the downloads back on the site without bringing back the thing Google flagged.

  • The home Download button is a plain link straight to the installer for your system (Windows x64 .exe, macOS .dmg, Linux AppImage), on github.com/tangency-labs/solidcraft/releases/download//. GitHub serves those as attachments, so clicking downloads the file and you stay on the page. The system is read from the browser after the page renders. Phones and anything unrecognized get a link to /download instead, and "Other downloads" stays under the button.
  • /download lists every platform's packages (Windows, macOS, Linux AppImage/deb/rpm/snap/tar, Flatpak, the macOS CLI zip, FreeBSD) as direct links with the version and size, plus the SHA256SUMS link and the Homebrew line. The code-signing and SignPath note is unchanged.
  • Nothing downloads on its own: no scripted clicks, no redirects to an asset, no meta refresh, no iframes, no prefetch. A download only happens when someone clicks a link.
  • The saved release data was still v0.12.0, so I refreshed it to v0.22.0. The browser still replaces it with the live latest release from GitHub (five minute cache), so v0.22.1 shows up without a rebuild.

Tests cover: no download event or asset request when / and /download load, the home button href per Windows/Mac/Linux, a click that stays on the same URL (asset request is mocked), the unknown-system fallback, and the platform list on /download. Check, typecheck, unit, build/validate and the full Playwright suite pass.

The homepage Download button links straight to the installer for the visitor's
system, the /download page lists every package as a direct link, and the saved
release data is now v0.22.0. Nothing downloads until a link is clicked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Deploying solidcraft-landing with  Cloudflare Pages  Cloudflare Pages

Latest commit: d87e46d
Status: ✅  Deploy successful!
Preview URL: https://c999694c.solidcraft-landing.pages.dev
Branch Preview URL: https://downloads-direct-links.solidcraft-landing.pages.dev

View logs

@bherbruck
bherbruck merged commit a10aa15 into main Oct 25, 2026
2 checks passed
@bherbruck
bherbruck deleted the downloads-direct-links branch October 25, 2026 13:43
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