Repository navigation
Tell Mac FW Lite users when an update is out - #3014
hahn-kev-bot wants to merge 1 commit into
Conversation
Lexbox now serves the Mac DMG from the release feed (download-latest and should-update with edition=mac), and the Mac app checks that feed like Linux does. It can't install the update itself, so it shows the existing "A new version is available" toast with a Download button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. WalkthroughMac now uses the release feed, subject to throttling. iOS and Android remain excluded unless the update condition is Estimated code review effort: 2 (Simple) | ~12 minutes Change: Feature Possibly related PRs
Suggested labels: Suggested reviewers: Merge Risk:
|
AI summary
Summary
The Mac app now checks for updates the same way Linux does: it asks lexbox, and if a newer release exists it shows the existing "A new version of FieldWorks Lite is available" toast with a Download button that opens the DMG. It still doesn't install the update itself.
This also makes
https://lexbox.org/api/fwlite-release/download-latest?edition=macwork, so the download page can link to it like the other platforms. The FAQ's Mac box now explains the update prompt and the drag-to-Applications step.Evidence
download-latest?edition=mac→404should-update?edition=mac&appVersion=<older>→{"release":null,"update":false}(the same request with
edition=linuxreturns the new release)After:
FwLiteReleaseServiceTests.CanGetLatestRelease(Mac)passes against live GitHub and findsFieldWorksLite.dmg.UpdateCheckerTests(13) andFwLiteReleaseServiceTests(12) pass; Mac moved from the "store-distributed, skip the feed" cases to the "uses the feed" cases.Merge Danger
Door: two-way
Blast Radius: Mac only
The client half only reaches Mac users once a new release ships. Mac builds already on people's machines skip the feed, so the server half changes nothing for them except making the download link work.
Test plan
https://lexbox.org/api/fwlite-release/download-latest?edition=macdownloads the DMG🤖 Generated with Claude Code