Skip to content

Fix managed self-update: refresh metadata and unlock Scoop's install dir#256

Merged
highbyte merged 1 commit into
masterfrom
feature/update-fix
Jul 6, 2026
Merged

Fix managed self-update: refresh metadata and unlock Scoop's install dir#256
highbyte merged 1 commit into
masterfrom
feature/update-fix

Conversation

@highbyte

@highbyte highbyte commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Self-update ran the upgrade command against stale metadata, so new versions weren't found. Run an ordered two-step flow instead — refresh then upgrade (brew update && brew upgrade …, scoop update; scoop update …) — gated so a failed refresh aborts the upgrade, in both the GUI helper and console --update.

Also fix the Windows helper failing with "…\current is in use": it inherited the app's own Scoop install dir as working directory. Launch it from TempPath.

Update Updates unit tests for the new sequences.

Self-update ran the upgrade command against stale metadata, so new versions
weren't found. Run an ordered two-step flow instead — refresh then upgrade
(`brew update && brew upgrade …`, `scoop update; scoop update …`) — gated so a
failed refresh aborts the upgrade, in both the GUI helper and console --update.

Also fix the Windows helper failing with "…\current is in use": it inherited
the app's own Scoop install dir as working directory. Launch it from TempPath.

Update Updates unit tests for the new sequences.
@highbyte highbyte marked this pull request as ready for review July 6, 2026 20:19
@sonarqubecloud

sonarqubecloud Bot commented Jul 6, 2026

Copy link
Copy Markdown

@highbyte highbyte merged commit df0c380 into master Jul 6, 2026
8 checks passed
@highbyte highbyte deleted the feature/update-fix branch July 6, 2026 20:21
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.

1 participant