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

Look up config dir using XDG_CONFIG_HOME #2673

Merged
merged 1 commit into from Dec 1, 2021

Commits on Nov 30, 2021

  1. Look up config dir using XDG_CONFIG_HOME

    This switches the config dir lookup from hardcoded $HOME + /.config to
    reading the $XDG_CONFIG_HOME environment variable using [os.UserConfigDir()](https://pkg.go.dev/os#UserConfigDir).
    This has one very big improvement, it means that Fyne apps running in flatpak don't need to pass though access to
    the cache directory. For everyone else, it's basically no change unless a custom $XDG_CONFIG_HOME is set in some situation (our old way is still the fallback).
    Jacalz committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    7726efe View commit details
    Browse the repository at this point in the history