xyosc/vendor/github.com/kirsle/configdir/config_darwin.go

16 lines
302 B
Go
Raw Normal View History

2024-12-21 17:38:26 +01:00
package configdir
import "os"
var (
systemConfig []string
localConfig string
localCache string
)
func findPaths() {
systemConfig = []string{"/Library/Application Support"}
localConfig = os.Getenv("HOME") + "/Library/Application Support"
localCache = os.Getenv("HOME") + "/Library/Caches"
}