Repository navigation
Add automatic updates with Sparkle - #5
Merged
Merged
Conversation
Adds Sparkle 2 with its standard update window, a Check for Updates… command, and a Settings window to turn automatic checks off. Updates and the feed must be signed. While a cleaning session runs, no check starts, update windows stay hidden, and a relaunch waits until input is back.
Keydoze is no longer fully offline: update checks and downloads go to GitHub. Corrects every place that said otherwise and records what was tested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes?
Keydoze now updates itself with Sparkle 2. It checks GitHub once a day, asks before installing, and can be turned off in a new Settings window. There's also a Check for Updates… command. This is version 0.2.0, build 4.
releases/latest/download/appcast.xml.script/make_release.shbuilds the notarized DMG and ZIP, the signed appcast and the checksums, and uploads nothing.Verification
swift test --disable-sandboxpasses: 22 core and 13 adapter tests. The CI build steps also pass locally with ad-hoc signing.Details and limits are in
docs/VALIDATION.md.Not covered: a translocated copy, a copy in a folder the user can't write to, and macOS 26 runtime.
Contribution checklist