Repository navigation
Add an updater - #24
Merged
Merged
Conversation
- Title bar: the version stays centred; a click checks for updates. A slot in the corner away from the window buttons shows Checking, Up to date, Check failed, and "New update available!" once a newer release exists. - macOS: Sparkle 2.10 in the bundle, with "Check for Updates…" in the app menu. A click on the version probes the feed; a click on the notice opens Sparkle's window. CD writes appcast.xml, signed with UPDATE_SIGNING_KEY. - Windows: asks, downloads Setup and checks its SHA-256, waits until nothing is running, queued or downloading, then runs Setup silently and restarts Stemd. Setup keeps the install mode, location and GPU choice of the copy it replaces, and waits for the old executable to exit. The zip, or an all-users copy on a standard account, opens the release page. - Linux: the notice shows in the status bar and opens the release page. - Windows and Linux pick the newest v* release, so model releases do not hide updates. macOS reads releases/latest, so model releases must be published with --latest=false.
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.
An updater on every platform. The version stays centred in the title bar and checks on a click; a slot in the corner shows the result and "New update available!".
v*GitHub release, at launch, daily and on a clickRelease changes:
appcast.xml, signed with theUPDATE_SIGNING_KEYsecret (public half inpackaging/update-ed25519.pub).releases/latest, so model releases must be created with--latest=false.Tested:
/S /relaunch(mode, GPU choice, wait for the running exe, restart).