Skip to content

feat: add sparkle updates and separate debug identity - #3

Merged
duongdev merged 4 commits into
mainfrom
feat/sparkle
Nov 14, 2026
Merged

duongdev merged 4 commits into
mainfrom
feat/sparkle

Conversation

@duongdev

@duongdev duongdev commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add Sparkle 2 for automatic updates, plus a Check for Updates… menu item.
  • The feed is appcast.xml on the latest GitHub release, so no extra hosting is needed.
  • Settings has a Check for updates automatically toggle. It is on by default, so Sparkle does not ask at first launch.
  • Debug builds get their own identity, so they can run next to an installed copy:
    • Name "Wakeful Dev" and a "Wakeful Dev" menu header.
    • Bundle ID dev.duongdev.Wakeful.debug.
    • URL scheme wakeful-dev://.
    • Sparkle off.
  • CI: the build step now fails when xcodebuild fails. Before, the pipe to tail hid failures.
  • README:
    • Logo and badges.
    • Menu and Settings screenshots.
    • Install steps.
    • Updated feature list.

Test

  • swift test --package-path WakefulCore: 17 tests pass.
  • Debug and Release builds pass. Each bundle ID, display name, URL scheme and update setting was checked in the built Info.plist.
  • The Debug build and an installed Release build run at the same time. wakeful-dev://activate goes to the Debug build only.
  • A notarized Release DMG built with this branch passes spctl, and its appcast is signed.

@duongdev
duongdev merged commit 7e9d078 into main Nov 14, 2026
3 checks passed
@duongdev
duongdev deleted the feat/sparkle branch December 1, 2026 01:30
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