Skip to content

Analyze the previous nested installer of an ambiguous zip on update - #2001

Merged
russellbanks merged 1 commit into
russellbanks:mainfrom
AdzerKI:fix/analyze-previous-nested-installer
Nov 28, 2026
Merged

russellbanks merged 1 commit into
russellbanks:mainfrom
AdzerKI:fix/analyze-previous-nested-installer

Conversation

@AdzerKI

@AdzerKI AdzerKI commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

🤖 AI-generated: this PR was prepared by Claude Opus 5.5 (Anthropic) for @AdzerKI.

Fixes #2000.

When a zip has several possible installers, update now analyzes the nested file it takes from the previous version (#1934), the same way a zip with a single installer is analyzed. The previous zip installer is matched by architecture, or taken when it's the only zip installer, since a zip's architecture often can't be detected from its URL.

Tested:

This touches src/commands/update_version.rs like #1935, so whichever goes in second needs a small rebase.

@AdzerKI
AdzerKI force-pushed the fix/analyze-previous-nested-installer branch from e36a8c3 to 897885c Compare November 28, 2026 08:26
@russellbanks
russellbanks merged commit 4c9d81b into russellbanks:main Nov 28, 2026
11 checks passed
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.

[Bug]: update keeps the previous ProductCode and architecture when a zip has several installers

2 participants