From 7c8752aefa658ecd2e4f7a5a4904f42a3dfc2569 Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Sat, 13 Jul 2024 19:42:47 +0200 Subject: [PATCH] --redist close launcher after finishing --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index bb296ed..142b731 100644 --- a/src/main.rs +++ b/src/main.rs @@ -668,6 +668,9 @@ async fn main() { if arg_bool(&args, "--redist") { arg_remove(&mut args, "--redist"); misc::install_dependencies(&install_path).await; + println_info!("Redistributables installation finished. Press enter to exit..."); + misc::stdin(); + std::process::exit(0); } let games_json = http_async::get_body_string(format!("{}/games.json", master_url).as_str())