fix XDG_DATA_HOME detection

This commit is contained in:
piotr 2021-06-18 02:14:31 +02:00
parent 24295dfd76
commit aa266f51e1
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -214,7 +214,7 @@ func getAppDirs() []string {
xdgDataDirs := ""
home := os.Getenv("HOME")
xdgDataHome := getDataHome()
xdgDataHome := os.Getenv("XDG_DATA_HOME")
if os.Getenv("XDG_DATA_DIRS") != "" {
xdgDataDirs = os.Getenv("XDG_DATA_DIRS")
} else {