From 9233390b18446c9cce604844892a88d4b512d2bb Mon Sep 17 00:00:00 2001 From: pyro Date: Fri, 14 Aug 2026 17:05:30 -0500 Subject: [PATCH] since the server install is the same now I just removed the check. --- src/install.rs | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/install.rs b/src/install.rs index 7e02a8b..31fb073 100644 --- a/src/install.rs +++ b/src/install.rs @@ -9,21 +9,12 @@ use std::process::exit; use tetanus::funcs::get_user_input; pub fn install() -> Result<(), Box> { - let client = get_user_input("would you like to install the Tetanus client on this computer?")? - .contains("y"); - let server = get_user_input("would you like to install the Tetanus server on this computer?")? - .contains("y"); + let client = + get_user_input("would you like to install the Tetanus on this computer?")?.contains("y"); if client { client_install()?; - } - if server { - println!("todo"); - } - if !client && !server { - println!( - "no install selected, please answer y to one or both of the above prompts next time!" - ); - exit(1); + } else { + println!("Ok then bye... not sure what you wanted here..."); } return Ok(()); }