Skip to content

Conversation

@daxhuiberts
Copy link
Contributor

dirs::data_dir() returns a different directory that glib expects for the schemas on macos (see https://docs.rs/dirs/latest/dirs/fn.data_dir.html)
Using glib::user_data_dir() instead will return the expected directory for glib.

@bilelmoussaoui
Copy link
Member

Is the dirs crate still used elsewhere? If not, maybe remove it completely

@daxhuiberts daxhuiberts force-pushed the make-book-listings-work-on-macos branch from 7e32703 to 8775196 Compare October 17, 2024 19:44
@daxhuiberts
Copy link
Contributor Author

Is the dirs crate still used elsewhere? If not, maybe remove it completely

Good suggestion. It was only used in the xtask, so I removed it.

@bilelmoussaoui bilelmoussaoui merged commit 3f68339 into gtk-rs:master Oct 17, 2024
2 of 3 checks passed
@bilelmoussaoui
Copy link
Member

lgtm, thanks!

@daxhuiberts daxhuiberts deleted the make-book-listings-work-on-macos branch October 18, 2024 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants