Show more progress
This commit is contained in:
parent
349efa4e43
commit
813d0613c1
@ -192,6 +192,8 @@ fn update_dir(cdn_info: &Vec<CdnFile>, remote_dir: &str, dir: &Path) {
|
|||||||
sha1_remote
|
sha1_remote
|
||||||
);
|
);
|
||||||
http::download_file(&format!("{}/{}", MASTER, file.name), &file_path);
|
http::download_file(&format!("{}/{}", MASTER, file.name), &file_path);
|
||||||
|
} else {
|
||||||
|
println!("{} is up to date.", file_path.display());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
println!("Downloading {}...", file_path.display());
|
println!("Downloading {}...", file_path.display());
|
||||||
|
Loading…
Reference in New Issue
Block a user