diff --git a/internal/locations/provider.go b/internal/locations/provider.go index 4ff1b9b1..c567f507 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.UserConfigDir() + return os.UserCacheDir() } if dir := os.Getenv("XDG_DATA_HOME"); dir != "" {