Skip to content

feat(download): offer a DMG per Mac chip, and the universal one for older releases - #182

Merged
datlechin merged 4 commits into
mainfrom
feat/mac-per-arch-download
Nov 22, 2026
Merged

datlechin merged 4 commits into
mainfrom
feat/mac-per-arch-download

Conversation

@datlechin

Copy link
Copy Markdown
Member
  • /download offers TablePro-<v>-arm64.dmg and -x86_64.dmg behind one Apple silicon / Intel control, shared by the hero and the Mac band.
  • A release with one universal TablePro-<v>.dmg (0.82.0 to 0.88.x) keeps one button and the "Universal app" caption.
  • The appcast fallback reads the release's shape from its update archives (-arm64.tar.xz and -x86_64.tar.xz, or one .tar.xz).
  • Intel is checked when a Chromium browser reports an x86 CPU. Safari and Firefox report none and start on Apple silicon.
  • release:check compares universalBinary with the GitHub release's DMGs, so recording the first per-arch stable without flipping it shows as DRIFT.
  • platforms.json DMG templates take {arch}. universalBinary stays true until that release is recorded.

Test plan

  • php artisan test (1291 with the ssr group on a local SSR server), npm run typecheck, npm run test:js, pint.
  • Live today: GitHub releases/latest and the appcast both give universal 0.87.0, and its DMG link answers 200. A universal 0.88.0 item on top of the live feed gives TablePro-0.88.0.dmg.
  • Per-arch feed built with the app's feed.py pair_items (arm64 item first with sparkle:hardwareRequirements, new_item_problems clean): the fallback gives both 0.89.0 DMGs.
  • Headless Chrome: an arm-reporting browser gets arm64, an x86-reporting one x86_64, one with no hint arm64 with Intel one click away, and without JavaScript each band's control still swaps its link.

@datlechin
datlechin merged commit b25f93b into main Nov 22, 2026
4 checks passed
@datlechin
datlechin deleted the feat/mac-per-arch-download branch November 23, 2026 01:04
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