Print all environment variables when starting fitnesstrax

This commit is contained in:
Savanni D'Gerinel 2024-03-12 10:09:57 -04:00
parent 9e5bac3001
commit b36e152050
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ fn setup_app_close_action(app: &adw::Application) {
} }
fn main() { fn main() {
println!("XDG_DATA_DIRS: {}", std::env::var("XDG_DATA_DIRS").unwrap_or("".to_owned())); for (name, value) in std::env::vars() {
println!("{}: {}", name, value);
}
// I still don't fully understand gio resources. resources_register_include! is convenient // I still don't fully understand gio resources. resources_register_include! is convenient
// because I don't have to deal with filesystem locations at runtime. However, I think other // because I don't have to deal with filesystem locations at runtime. However, I think other