Add signed in-app update flow - #10
Draft
luisleineweber wants to merge 3 commits into
Draft
Conversation
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.
Summary
Add a signed in-app updater flow based on the staged download and restart pattern used by T3Code.
Problem
Unsigned prereleases only expose the GitHub installer. The app can discover a newer release, but it opens the release page instead of downloading and installing the update.
GitHub's
releases/latestalias also excludes prereleases. The existing endpoint cannot serve Alpha update manifests.UX Flow
Solution
Use the signed Tauri updater as the only update source. Publish each
latest.jsonthrough a fixed publicupdaterrelease, so prereleases do not depend on GitHub's stable-only alias.Split download from installation. A failed download stays available for retry. Installation starts only from the downloaded
readystate.The release workflow requires
TAURI_SIGNING_PRIVATE_KEYand verifies the manifest, updater signature, and Windows installer before it updates the channel manifest.The new public key is now in
src-tauri/tauri.conf.json. The matching private key and password are configured as GitHub Secrets.Draft status
The free Tauri signing key is configured. The PR remains a draft until a real signed prerelease is published and the in-app update path is validated.
Alpha 7 cannot trust the rotated key. Users need one final manual installation of the rebuilt Alpha 8. Later releases can update fully in-app.
Windows Authenticode signing remains separate and optional for Alpha technical previews.