Skip to content

Check for Windows updates on startup - #135

Draft
puppyben1 wants to merge 1 commit into
1lck:codex/winui3-phase1from
puppyben1:codex/windows-startup-update-check
Draft

Check for Windows updates on startup#135
puppyben1 wants to merge 1 commit into
1lck:codex/winui3-phase1from
puppyben1:codex/windows-startup-update-check

Conversation

@puppyben1

Copy link
Copy Markdown
Contributor

What changed

  • Keep the Windows welcome-page Check for Updates action wired to the shared update flow.
  • Trigger one automatic update check after the WinUI root has loaded.
  • Reuse the existing release dialog so only an available update opens a modal; up-to-date and failure results remain status-only.
  • Guard the startup trigger so repeated Loaded events do not start duplicate checks.

Why

Windows users should be able to check from the home page and should learn about new releases on the first app launch without navigating into Settings.

Validation

  • scripts/verify-windows-boundaries.ps1
  • scripts/build-windows.ps1 -Configuration Release -BuildWinUI
  • ctest --test-dir windows/build-windows -C Release --output-on-failure (18/18 passed)

@1lck

1lck commented Aug 19, 2026

Copy link
Copy Markdown
Owner

基线错了哦 这个pr还在草稿状态吗 @puppyben1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants