F-Droid desktop client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
285 B

// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
// See LICENSE for licensing information
package basedir
var (
cacheDir = firstGetenv("", "TEMP", "TMP")
dataDir = firstGetenv("", "APPDATA")
)
func cache() string {
return cacheDir
}
func data() string {
return dataDir
}