Skip to content

fix: resolve target bundle path once at start of install#50765

Merged
jkleinsc merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-resolve-target-bundle-path-once-at-start-of-install-1775527863215
Apr 8, 2026
Merged

fix: resolve target bundle path once at start of install#50765
jkleinsc merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-resolve-target-bundle-path-once-at-start-of-install-1775527863215

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop Bot commented Apr 7, 2026

Backport of #50745

See that PR for details.

Notes: Fixed an issue where the Squirrel.Mac installer could resolve the target bundle path to different locations at different stages of an install.

Resolve the Squirrel.Mac target bundle URL to a canonical path once at the
top of -[SQRLInstaller installRequest:] and use it for every step of the
install chain, rejecting requests whose path is not already canonical. When
running with elevated privileges, additionally require the target to be the
application bundle that contains the installer. SQRLUpdater now writes the
resolved bundle URL so the serialized request is canonical by construction.

Co-authored-by: Samuel Attard <sam@electronjs.org>
@trop trop Bot requested a review from a team as a code owner April 7, 2026 02:11
@trop trop Bot requested review from a team and MarshallOfSound April 7, 2026 02:11
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Apr 7, 2026
@jkleinsc jkleinsc merged commit a0f9ff4 into 42-x-y Apr 8, 2026
102 of 106 checks passed
@jkleinsc jkleinsc deleted the trop/42-x-y-bp-fix-resolve-target-bundle-path-once-at-start-of-install-1775527863215 branch April 8, 2026 18:06
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Apr 8, 2026

Release Notes Persisted

Fixed an issue where the Squirrel.Mac installer could resolve the target bundle path to different locations at different stages of an install.

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

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants