Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce dependency on 7z, unar, homebrew by using builtin tar #693

Merged
merged 9 commits into from
May 17, 2024

Conversation

axu2
Copy link
Collaborator

@axu2 axu2 commented May 12, 2024

tar is an incredibly powerful decompression tool that even supports rar.

It has been in macOS since 2009. And was added to Windows 10 in 2017. It's probably in every linux distro.

https://github.com/libarchive/libarchive/wiki/LibarchiveUsers#apple-macos

https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/

This way, users don't need to install homebrew and xcode on macOS to use it unless they also want metadata editing. Same for Windows.

Also, tar seems faster than 7z!

Test builds: https://github.com/axu2/kcc/releases/tag/v6.0.0-tar

image

@AlicesReflexion @cookie99999 @darodi Do you think unrar is still needed on fedora?

Related:

Feel free to test: @thevenomsnake @shihong5858 @AdrianJesusSilva

@axu2 axu2 added the dependencies Pull requests that update a dependency file label May 12, 2024
@axu2 axu2 added this to the 6.1 milestone May 12, 2024
@axu2 axu2 merged commit 1ea008c into ciromattia:master May 17, 2024
@axu2 axu2 deleted the tar branch May 17, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant