Files
gio/ui/app/datadir.go
T
Elias Naur 112368a2e3 ui/app: add a DataDir fallback to Go 1.12
o.UserConfigDir is introduced in Go 1.13, which is not released yet.
Add a Go 1.12 stopgab until then.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-07-13 13:28:58 +02:00

12 lines
161 B
Go

// SPDX-License-Identifier: Unlicense OR MIT
// +build !android,go1.13
package app
import "os"
func dataDir() (string, error) {
return os.UserConfigDir()
}