Skip to content

feat: implement silent background auto-updater for GitHub releases#846

Draft
Fearcine wants to merge 3 commits into
unchihugo:masterfrom
Fearcine:feature/github-auto-update
Draft

feat: implement silent background auto-updater for GitHub releases#846
Fearcine wants to merge 3 commits into
unchihugo:masterfrom
Fearcine:feature/github-auto-update

Conversation

@Fearcine

@Fearcine Fearcine commented Jun 2, 2026

Copy link
Copy Markdown

Summary

Implemented a silent background auto-updater for GitHub Releases to mirror the seamless update experience.

Motivation

The current self-compiled / GitHub Release version of the app was not updating itself and had to do it manually. This PR introduces a background update mechanism that downloads and applies updates without conflicting with the native auto-update behavior of the Microsoft Store version.

Type of Change

  • Feature
  • Bug fix
  • Refactor (no functional changes)
  • Style (formatting, naming)
  • Other

What Changed

  • Added a new service that periodically checks the GitHub API and downloads .msix packages in the background.
  • Added download progress UI and a "Restart" action button to the Home Page update card.
  • Added an "Auto-update" toggle to System Settings (enabled by default)
  • Added a Windows Toast notification to prompt the user to restart the app once an update has been successfully staged.
  • Guarded the entire implementation behind the #if GITHUB_RELEASE constant to guarantee zero interference with Microsoft Store builds.

Additional Information

image

Checklist

  • Code changes are manually tested and working.
  • Formatting and naming are consistent with the project.
  • Self-review of changes is done.
  • AI tools were used (if yes, I reviewed and fully understand the changes myself).

@github-actions github-actions Bot added MainWindow / Media Flyout Changes to MainWindow including the Media Flyout SettingsWindow Changes to SettingsWindow or settings pages not related to flyouts/widgets labels Jun 2, 2026
@Fearcine Fearcine marked this pull request as ready for review June 2, 2026 19:39
@Fearcine Fearcine marked this pull request as draft June 4, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MainWindow / Media Flyout Changes to MainWindow including the Media Flyout SettingsWindow Changes to SettingsWindow or settings pages not related to flyouts/widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant