From d25e7cf3cda3ae2b57d80d2746a8f12d3addf2ca Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Sun, 11 Jun 2023 18:30:55 +0200 Subject: [PATCH] Keep console open if game not found --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 57aa29d..c459a7d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,4 +131,9 @@ fn main() { return; } } + + println!("Game not found!"); + println!("Place the launcher in the game folder, if that doesn't work specify the client on the command line (ex. alterware-launcher.exe iw4-sp)"); + println!("Press enter to exit..."); + std::io::stdin().read_line(&mut String::new()).unwrap(); }