mirror of
https://github.com/make-42/xyosc
synced 2025-01-19 02:57:34 +01:00
16 lines
302 B
Go
16 lines
302 B
Go
|
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"
|
||
|
}
|