fix(site): offer Apple silicon only on the download page
Problem. Releases are Apple silicon only (D7), but the site said "Apple silicon and Intel" in the download button, the arch picker, the release.ts labels, and the "Which one is mine?" card. Worse, release.ts threw when the latest release had no x86_64 DMG, so the first arm64-only release would have failed the site build once RELEASE_READY flips.
Change.
release.tsreads only*_arm64-macos.dmg. Other images on a release are ignored. A release with no arm64 DMG still fails the build on purpose, so Vercel keeps the last good deploy. Versions before 0.2.0 getpreview: true./download: the chip picker becomes one "Download for Mac" button, with the line "Apple silicon (M1 or later), macOS 13 Ventura or later". Detection now only decides whether to auto-download. An Intel Mac gets "This Mac has an Intel chip, and rac needs Apple silicon, so nothing downloaded." An unknown chip gets no auto-download.- 0.1.0 shows "Preview. Not for daily use." under the button and next to the version.
- The download button note and the home page's closing line say the same platform text.
RELEASE_READYstaysfalse.
Verified.
astro buildpasses.release.tsagainst mocked GitHub responses: arm64-only 0.1.0 gives previewtrue; arm64 + x86_64 0.2.0 picks arm64 with previewfalse; x86_64-only throws "has no arm64 disk image".- Headless Chromium with a faked
navigator.userAgentDatasetsdata-statetomac,intel,pick, andotherfor Apple silicon, Intel, an unknown chip, and Linux. Shots attached, light and dark.
Net-diff hunks: 0 (no patches touched).
🤖 Generated with Claude Code (Claude Opus 5.5)
[!NOTE]
Low Risk
Static site copy and download UX only; release fetch logic is build-time with fail-safe behavior unchanged.
Overview
Aligns the marketing site with Apple silicon–only releases so copy, build-time release data, and download behavior match what ships.
release.ts now exposes a single arm64 build from *_arm64-macos.dmg (Intel assets are ignored). Missing arm64 still fails the build. Versions before 0.2.0 get preview: true and shared PLATFORM copy for CTAs.
/download drops the chip picker for one Download for Mac button. Client detection only gates auto-download (Apple silicon yes, Intel shows an explicit message and downloads nothing, unknown chip no auto-start). Preview builds show Preview. Not for daily use.
DownloadButton, home CTA, and docs/operations/site.md use the same platform wording; the home closing line no longer mentions macOS 13 generically without the Apple silicon requirement.
Reviewed by Cursor Bugbot for commit b9b9b0d188cd8ed897402758e11d083c0038df15. Bugbot is set up for automated code reviews on this repo. Configure here.