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
// 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