mirror of
https://github.com/alterware/alterware-launcher.git
synced 2026-11-26 12:08:39 +00:00
keep console open & exit process when game not found
This commit is contained in:
1 parent
d44ae36f86
commit
2760e2ab1e
1 file changed
+2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user