force "+set logfile 1" iw4x arg

This commit is contained in:
2024-07-03 03:54:50 +02:00
parent f354d001f8
commit db9e0d9203
3 changed files with 11 additions and 2 deletions

View File

@@ -738,6 +738,15 @@ async fn main() {
}
}
if cfg.engine == "iw4" && !cfg.args.contains("+set logfile 1") {
cfg.args = format!("{} +set logfile 1", cfg.args);
config::save_value_s(
install_path.join("alterware-launcher.json"),
"args",
cfg.args.clone(),
);
}
if cfg.ask_bonus_content && !g.bonus.is_empty() {
println!("Download bonus content? (Y/n)");
let input = misc::stdin().to_ascii_lowercase();