This is a backport PR for branch 39-x-y
trop[bot]

#50215: fix: preserve staged update dir when pruning orphaned updates on macOS

Merged
Created: Mar 11, 2026, 5:42:46 PM
Merged: Mar 11, 2026, 8:51:36 PM
0 comments
Target: 39-x-y

Backport of #50210

See that PR for details.

Notes: Fixed an issue on macOS where calling autoUpdater.quitAndInstall() could fail if checkForUpdates() was called again after an update was already downloaded.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Mar 11, 2026, 5:42:23 PM
Original PR Link
GitHubView on GitHub

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