print XDG_DATA_DIRS in fitnesstrax

This commit is contained in:
Savanni D'Gerinel 2024-03-12 09:24:33 -04:00
parent 4114e64b8e
commit 1e5341d0e6
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ fn setup_app_close_action(app: &adw::Application) {
}
fn main() {
println!("XDG_DATA_DIR: {}", std::env::var("XDG_DATA_DIR").unwrap_or("".to_owned()));
// 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
// GTK applications do that rather than compiling the resources directly into the app. So, I'm