Skip to content

Don't self-update Scoop installs on Windows; show scoop update stroke instead - #278

Merged
broisnees merged 1 commit into
nightlyfrom
updater-scoop
Nov 17, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
updater-scoop

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Same class of bug as #277, on Windows. Scoop unpacks the NSIS setup into its own folder, so a Scoop install reads as an NSIS install. Installing an update from the app ran the setup, which put a second, separate copy under %LOCALAPPDATA% and left Scoop's copy on the old version.

A Scoop install (\\scoop\\apps\\ in the path, or under a custom SCOOP / SCOOP_GLOBAL root) is now package-managed: the update dialog shows scoop update stroke with Copy instead of installing. The apply-on-quit check uses the same detection.

macOS is not affected: it updates in place, Homebrew included; the cask gets auto_updates true in the tap so brew upgrade leaves it to the app.

cargo check (Linux), svelte-check and tests pass; the Windows code is compiled by the Windows build in CI. The path test was run standalone (default root, non-Scoop path, custom SCOOP root).

@broisnees
broisnees merged commit 7b86eea into nightly Nov 17, 2026
1 check passed
@broisnees
broisnees deleted the updater-scoop branch November 17, 2026 06:07
broisnees pushed a commit that referenced this pull request Nov 17, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant