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

Make settings directory follow xdg specification #472

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 7, 2022

  1. Make settings file follow xdg specification

    This commit changes `getUserDataDirectory` to return `$XDG_CONFIG_HOME/chatty`, or `$HOME/.config/chatty` if `$XDG_CONFIG_HOME` doesn't exist.
    In addition, this commit will cause Chatty to, on startup, detect if the legacy settings directory exists ($HOME/.chatty) and, if it does, move it to whatever `getUserDataDirectory` returns. It does this on startup such that the new settings directory can be taken into effect without needing to restart the client, making for a seamless transition.
    yoshiyoshyosh committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    610eae4 View commit details
    Browse the repository at this point in the history