commented out broken config file stub code

This commit is contained in:
Andrew Schott 2025-05-08 16:15:33 -05:00
parent c6c2a89eb2
commit 8209d6936f

View file

@ -405,14 +405,15 @@ fn main() {
// Check for default ini file's existence and // Check for default ini file's existence and
// create new one if file does not exist // create new one if file does not exist
let toml_exists = Path::new("~/.config/osupdater.toml").exists();
if toml_exists == false { // let toml_exists = Path::new("~/.config/osupdater.toml").exists();
println!("No config file found"); // if toml_exists == false {
println!("Creating new config at : ~/.config/osupdater.toml"); // println!("No config file found");
//toml_create_default (); // println!("Creating new config at : ~/.config/osupdater.toml");
} else if toml_exists == true { // //toml_create_default ();
println!("Config file found at ~/.config/osupater.toml"); //} else if toml_exists == true {
} // println!("Config file found at ~/.config/osupater.toml");
//}
// Parse ini // Parse ini