MarshallOfSound

#55173: fix: improve asar archive path handling

Merged
Created: Oct 21, 2026, 1:38:34 PM
Merged: Oct 21, 2026, 4:09:19 PM
5 comments
Target: main

Description of Change

  • Resolve asar archive paths against the outer app bundle in macOS helper processes
  • Treat app.asar as an archive in every process when OnlyLoadAppFromAsar is enabled
  • Keep treating a path as an archive once it has been opened as one

Checklist

  • PR description included
  • npm test passes
  • tests are changed or added
  • relevant API documentation, tutorials, and examples are updated and follow the documentation style guide
  • PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.

Notes: Fixed inconsistent handling of asar archive paths between the main process and child processes.

Backports

43-x-y
In-flight
PR Number
#55185
Waiting to be merged
44-x-y
Merged
PR Number
#55183
Merged At
Oct 21, 2026, 11:51:56 PM
Released In
Not yet
Release Date
Not yet
45-x-y
Merged
PR Number
#55184
Merged At
Oct 21, 2026, 5:32:43 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron