This commit is contained in:
2024-04-03 01:26:56 +02:00
parent bf7bd86934
commit 9a8568d692
9 changed files with 462 additions and 55 deletions

View File

@@ -23,18 +23,18 @@ pub async fn update(dir: &Path) {
let local = local_revision(dir);
if remote <= local && dir.join("iw4x.dll").exists() {
println!(
crate::println_info!(
"[{}] No files to download for IW4x",
"Info".bright_magenta(),
);
return;
}
println!(
crate::println_info!(
"[{}] Downloading outdated or missing files for IW4x",
"Info".bright_magenta()
);
println!(
crate::println_info!(
"[{}] {}",
"Downloading".bright_yellow(),
misc::cute_path(&dir.join("iw4x.dll"))