Print all environment variables when starting fitnesstrax
This commit is contained in:
parent
9e5bac3001
commit
b36e152050
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue