mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
* Add spawn_tar function and tar_compatible function
- Create spawn_tar function to run command with tar -xvf to unzip file to tmp
file
* Add os.excute() line to make sure the tmp dir exists because tar
command will not automatically create that dir
* Refactor the logic in the try function to if the zip file can be
unzipped with tar and no password required, use tar, otherwise use
7z
|
||
|---|---|---|
| .. | ||
| preset | ||
| src | ||
| Cargo.toml | ||