hayai/vendor/github.com/kirsle/configdir/config_windows.go

16 lines
254 B
Go
Raw Permalink Normal View History

2024-12-21 17:26:50 +01:00
package configdir
import "os"
var (
systemConfig []string
localConfig string
localCache string
)
func findPaths() {
systemConfig = []string{os.Getenv("PROGRAMDATA")}
localConfig = os.Getenv("APPDATA")
localCache = os.Getenv("LOCALAPPDATA")
}