fall back to proper data dir

somehow I forgot a .
This commit is contained in:
Lilian Jónsdóttir 2024-05-07 17:59:29 -07:00
parent fa5a4ecc3b
commit 5eb5643062

2
pkg/env/env.go vendored
View file

@ -67,7 +67,7 @@ func GetDataDir(appname string) string {
if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" { if datahome := os.Getenv("XDG_DATA_HOME"); datahome != "" {
datadir = datahome datadir = datahome
} else { } else {
datadir = make_path(os.Getenv("HOME"), "local", "share") datadir = make_path(os.Getenv("HOME"), ".local", "share")
} }
} }