This is a backport PR for branch 41-x-y
#50217: fix: preserve staged update dir when pruning orphaned updates on macOS
Merged
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
MarshallOfSoundOriginal PR Status
Merged
Original PR Merged At
Mar 11, 2026, 5:42:23 PM
Original PR Link
View on GitHubSemver 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