Repository navigation
fix(desktop): clarify windows update and administrator recovery - #874
Merged
Merged
Conversation
Guide local manual updates through the downloaded installer and explain PostgreSQL's administrator refusal instead of a readiness timeout. Fixes: #479
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.
Change
Windows installations that need administrator approval currently leave users guessing how to update. Local Restart to update now offers Show installer with four steps: reveal the downloaded installer, close Canopy, run the installer as administrator, and reopen Canopy normally. The file comes from the accepted updater download; the renderer cannot choose a path. Cancelling keeps Canopy running, and a missing installer directs users to download it again.
When PostgreSQL explicitly refuses administrator privileges, startup reports that cause and tells users to reopen Canopy without Run as administrator, instead of waiting for a generic readiness timeout. Other startup failures retain their existing diagnosis. Remote updates still fail before service shutdown when elevation is needed.
Fixes: #479
Verification
check:tmp, including real child-process stderr split across chunks, unrelated startup failures, and remote elevation rejection without shutdown.Copy audit
Before: administrator approval plus a reinstall recommendation, and a generic startup timeout. After: concrete installer instructions and a specific explanation when the database rejects administrator privileges.
Checked sentence lengths, active voice, glossary, action labels, error recovery, repetition, dependency explanations, and text cues; no humorous copy or new empty states. Audit §8 item 9 is covered for the startup screen at desktop/phone widths; the native Windows dialog remains a manual Windows check because this host runs Linux. The change adds no user-provided names or variable-length labels.