feat: in-app auto-update#133
Merged
johannesjo merged 1 commit intoMay 22, 2026
Merged
Conversation
Adds in-app auto-update so users get newer versions without a manual reinstall (johannesjo#91). Checks GitHub Releases silently ~10s after launch and on demand from Settings, downloads on request, and relaunches onto the new version. A sidebar header button surfaces an available update and is the single apply path (download, then restart & install). The Settings Updates section shows current version, a manual check, and last-check status. Backend module electron/ipc/updater.ts wraps electron-updater behind new IPC channels; degrades to "unsupported" for dev runs and the Linux deb target, which have no in-place update channel. Adds a GitHub publish target and a macOS zip artifact to the electron-builder config. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Owner
|
Thank you very much! <3 |
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
In-app auto-update — users move to a newer version without deleting and reinstalling the app (#91).
debtarget (no in-place update channel) report "unavailable" instead of failing.How
electron/ipc/updater.tswrapselectron-updater'sautoUpdaterbehind new IPC channels:check_for_updates,download_update,quit_and_install_update,get_update_status, and a pushedupdate_status_changedevent.src/store/updates.ts(status signal + subscription + check/download/install helpers); newUpdateButtoncomponent in theSidebarheader; Updates section inSettingsDialog.electron-builderconfig: GitHubpublishtarget + a macOSzipartifact (electron-updater requireszipto apply macOS updates).Testing
Verified locally against a generic update server: a packaged build detected a newer published version, downloaded it with progress, and relaunched onto the new version via Restart & install.
Screenshots