add .7z format support

This commit is contained in:
2026-09-10 22:10:46 +03:00
parent 410f4524c2
commit 4a3dff8f98
4 changed files with 22 additions and 6 deletions

View File

@ -94,7 +94,7 @@ pub fn download(repo: &String, pkgname: &String, force: bool, recursive: bool) {
io::stdout().flush().unwrap();
let mut cmd = Command::new("rsync");
cmd.arg("-azHX").arg("--stats").arg("--no-times");
cmd.arg("-azHX").arg("--stats");
if force { cmd.arg("--delete"); }
cmd.arg(&remote_path);
cmd.arg(&local_path_sync);