diff --git a/internal/locations/provider.go b/internal/locations/provider.go index 69f7e1a9..f0eca49a 100644 --- a/internal/locations/provider.go +++ b/internal/locations/provider.go @@ -96,7 +96,7 @@ func (p *DefaultProvider) UserCache() string { // On non-linux systems, it is the same as os.UserConfigDir(). func userDataDir() (string, error) { if runtime.GOOS != "linux" { - return os.UserCacheDir() + return os.UserConfigDir() } if dir := os.Getenv("XDG_DATA_HOME"); dir != "" {