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

change config directory on linux to $HOME/.config/livesplitone/ #1

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

NinjaFB
Copy link

@NinjaFB NinjaFB commented Mar 13, 2024

The most commonly used config directory on linux is $HOME/.config/projectname, this project uses $HOME/.local/share/projectname, I don't think this makes sense at all.

To change this I used config_local_dir instead of data_local_dir from the directories crate.

This will NOT change the Windows or Mac directories.

@AlexKnauth
Copy link
Owner

AlexKnauth commented Mar 13, 2024

This does change the Windows directory. Before this change, the config file was at

C:\Users\Owner\AppData\Local\LiveSplit\LiveSplit One\data\config.yml

but after this change, it would be at

C:\Users\Owner\AppData\Local\LiveSplit\LiveSplit One\config\config.yml

@AlexKnauth
Copy link
Owner

Also, this directory is used for more than just configuration data. The log.txt file is put in the same directory, and at least on Windows, the config file is also used for "recent items" data beyond the current configuration.

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