keep console open & exit process when game not found

This commit is contained in:
mxve 2024-02-07 12:29:58 +01:00
parent d44ae36f86
commit 2760e2ab1e

View File

@ -159,6 +159,8 @@ async fn windows_launcher_install(games: &Vec<Game<'_>>, master_url: &String) {
println!(
"No installed games found. Make sure to place the launcher in the game directory."
);
std::io::stdin().read_line(&mut String::new()).unwrap();
std::process::exit(0);
}
}