Merged
Conversation
kevwilliams
approved these changes
Mar 22, 2026
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.
Overview
This branch adds stable vs beta update streams aligned with GitHub releases, extends the auto-update path with pending install and platform-specific apply/restart, improves Settings and toast UX, and updates CI so beta tags publish as GitHub pre-releases without touching Homebrew.
Library (
lib)Update channels
UpdateChannel(stable|beta) with serde (lowercase).CARGO_PKG_VERSION: a semver pre-release segment (any-after an optionalvprefix) ⇒ beta; otherwise stable.UpdateSettingsnow includes:update_channelpending_install_path/pending_update_version(install on next launch / display)GitHub releases API
per_page=100).draftandprereleaseon each release.select_release_for_channel: picks the newest eligible release that has a platform asset and is semver-newer than the installed version.rolling, not GitHub pre-release, tag without-in the version part (afterv).try_find_platform_asset/find_platform_asset.Install / restart
has_pending_install,get_pending_install_path,set_pending_install,clear_pending_install,get_pending_update_version.apply_update/apply_update_static: macOS (DMG → mount, rsync to/Applications), Windows (NSIS/S), Linux (replace AppImage in place).spawn_install_and_restart: detached helper (shell on Unix, PowerShell on Windows) that waits for the app to exit, runs install, then restarts.DATUM_UPDATE_FAKE=1: skips real install for local UI/testing.Other
Repo::from_pathfor paths used without opening the repo.UpdateChannelfromlib.UI (
ui)text-lg,ease-out, positioning,pb-48, etc.).check.svgasset and icon wiring.GitHub Actions
bundle.yml(tag pushv*)v) contains-.prerelease: true,make_latest: false; stable ⇒prerelease: false,make_latest: true.update-homebrewruns only for non–pre-release tags so the cask is not updated from beta builds.manual-release.ymlprerelease.make_latestremainsfalsefor manual runs (unchanged policy).README