diff --git a/fitnesstrax/app/src/main.rs b/fitnesstrax/app/src/main.rs index c2f135e..dfa8a89 100644 --- a/fitnesstrax/app/src/main.rs +++ b/fitnesstrax/app/src/main.rs @@ -58,7 +58,9 @@ fn setup_app_close_action(app: &adw::Application) { } 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 // because I don't have to deal with filesystem locations at runtime. However, I think other