Repository navigation
feat: add one-click extraction with safe output collision handling - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Adds opt-in one-click extraction in Settings → General with three destinations: beside the archive, a fresh folder named after the archive, or a native folder chooser. Recognized files opened from Finder extract without an archive browser; cancellation leaves the archive alone, and split volumes are processed once.
Existing output is preserved. Extraction stages on the destination volume, then moves whole top-level items using numbered names for conflicts (including file/directory conflicts and dangling symlinks). Ordinary browser extraction retains its existing behavior.
Includes the fork's GitHub build/prerelease workflow and generated localization catalog. The feature addresses sarensw#280.
How it was verified
Extraction failed: Failed to create output file; XAD reportedCould not create directory (error 16).AI disclosure: Codex was the primary author of the implementation, tests, and release setup.
Checklist
Config/products/macpacker.jsonreferences upstream issue Feature request: Extract archives on open sarensw/MacPacker#280