Skip to content

feat(sparkle): add Sparkle auto-update support#249

Merged
owieth merged 4 commits into
mainfrom
feature/246-feat-add-sparkle-auto-update-for-in-app-update-notifications
Mar 30, 2026
Merged

feat(sparkle): add Sparkle auto-update support#249
owieth merged 4 commits into
mainfrom
feature/246-feat-add-sparkle-auto-update-for-in-app-update-notifications

Conversation

@owieth

@owieth owieth commented Mar 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add SPUStandardUpdaterController to AppDelegate — starts updater on launch
  • Add "Check for Updates…" to the right-click context menu
  • Set SUFeedURL + SUPublicEDKey + SUEnableAutomaticChecks in Info.plist
  • Update release workflow to sign the DMG and auto-commit docs/appcast.xml to main after each release
  • Add scripts/generate-appcast.sh for local testing

How it works

On each GitHub Release, the workflow signs the DMG with the EdDSA private key (SPARKLE_PRIVATE_KEY secret) and commits an updated appcast.xml to docs/ — served via GitHub Pages at https://owieth.github.io/InputMetrics/appcast.xml. Sparkle fetches this on launch and when the user clicks "Check for Updates…".

Test plan

  • Build and run — no crash on launch
  • Right-click menu bar icon → "Check for Updates…" appears and opens Sparkle UI
  • Publish a release and verify docs/appcast.xml is committed to main with correct version + signature

Closes #246

🤖 Generated with Claude Code

owieth and others added 4 commits March 30, 2026 16:20
- Initialize SPUStandardUpdaterController in AppDelegate
- Add "Check for Updates…" to right-click context menu
- Set SUFeedURL to GitHub Pages appcast in Info.plist
- Add appcast generation + EdDSA signing step to release workflow
- Add scripts/generate-appcast.sh for local testing

Requires SPARKLE_PRIVATE_KEY secret in GitHub repo settings.
Generate key pair with: generate_keys (bundled with Sparkle).

Closes #246

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@owieth owieth linked an issue Mar 30, 2026 that may be closed by this pull request
@owieth owieth self-assigned this Mar 30, 2026
@owieth owieth added the enhancement New feature or request label Mar 30, 2026
@owieth owieth merged commit 0e2f360 into main Mar 30, 2026
2 checks passed
@owieth owieth deleted the feature/246-feat-add-sparkle-auto-update-for-in-app-update-notifications branch March 30, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Sparkle auto-update for in-app update notifications

1 participant