Skip to content

Conversation

@nchapman
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 26, 2025 02:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request enhances the atomic update system to handle platforms that bundle their own unzip binary while maintaining compatibility with platforms that rely on the system's unzip command. The changes also improve error handling by implementing comprehensive backup restoration logic when updates fail.

Key Changes

  • Dynamic unzip binary selection: Detects and uses platform-bundled ./unzip when available, falling back to system unzip otherwise
  • Improved error handling: Restructured success/failure paths with automatic restoration of both .system and .tmp_update directories from backups when unzip fails
  • Consistent naming: Changed backup suffix from -old to -prev for uniformity across both .system and .tmp_update backups

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nchapman nchapman merged commit 51d0765 into develop Nov 26, 2025
4 checks passed
@nchapman nchapman deleted the feature/fix-updater branch November 26, 2025 02:36
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.

2 participants