From 8209d6936fbe7ba1bed779320aff630959d2d683 Mon Sep 17 00:00:00 2001 From: Andrew Schott Date: Thu, 8 May 2025 16:15:33 -0500 Subject: [PATCH] commented out broken config file stub code --- src/main.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9400462..791170d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -405,14 +405,15 @@ fn main() { // Check for default ini file's existence and // create new one if file does not exist - let toml_exists = Path::new("~/.config/osupdater.toml").exists(); - if toml_exists == false { - println!("No config file found"); - println!("Creating new config at : ~/.config/osupdater.toml"); - //toml_create_default (); - } else if toml_exists == true { - println!("Config file found at ~/.config/osupater.toml"); - } + + // let toml_exists = Path::new("~/.config/osupdater.toml").exists(); + // if toml_exists == false { + // println!("No config file found"); + // println!("Creating new config at : ~/.config/osupdater.toml"); + // //toml_create_default (); + //} else if toml_exists == true { + // println!("Config file found at ~/.config/osupater.toml"); + //} // Parse ini