diff --git a/internal/utils/appdirs.go b/internal/utils/appdirs.go index 659efd4..e937371 100644 --- a/internal/utils/appdirs.go +++ b/internal/utils/appdirs.go @@ -27,7 +27,7 @@ func (a appDirs) GetDataFilePath(fileName string) string { } func (a appDirs) GetDataFile(fileName string) (string, error) { - relPath := a.GetDataFilePath(fileName) + relPath := filepath.Join(a.AppName, fileName) return xdg.DataFile(relPath) }