Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the location of the config file on macOS #208

Merged
merged 1 commit into from
Nov 28, 2021

Conversation

sorairolake
Copy link
Contributor

@sorairolake sorairolake commented Nov 25, 2021

Since v3.0.0 of directories, the behavior of ProjectDirs::config_dir() on macOS has been adjusted (see dirs-dev/directories-rs#62).
So I change this to use ProjectDirs::preference_dir() for compatibility.

@dalance
Copy link
Owner

dalance commented Nov 28, 2021

LGTM. Thanks!

@dalance dalance merged commit c73311e into dalance:master Nov 28, 2021
@sorairolake sorairolake deleted the config-path branch December 1, 2021 12:17
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