Show more progress
This commit is contained in:
parent
aaede9b6cb
commit
9f00b0c0e7
@ -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