Skip to content

Commit

Permalink
fix xdg_data_dirs path
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Feb 8, 2023
1 parent f059104 commit 787f251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rnote-ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn setup_macos_env() -> anyhow::Result<()> {
}
})
{
std::env::set_var("XDG_DATA_DIRS", &current_dir.join("/..Resources/share"));
std::env::set_var("XDG_DATA_DIRS", &current_dir.join("/../Resources/share"));
std::env::set_var(
"GDK_PIXBUF_MODULE_FILE",
current_dir.join(PathBuf::from(
Expand Down

0 comments on commit 787f251

Please sign in to comment.