fckeuspy-go/vendor/fyne.io/fyne/v2/internal/app/config_xdg.go

14 lines
284 B
Go

//go:build !ci && !wasm && !test_web_driver && !android && !ios && !mobile && (linux || openbsd || freebsd || netbsd)
package app
import (
"os"
"path/filepath"
)
func rootConfigDir() string {
desktopConfig, _ := os.UserConfigDir()
return filepath.Join(desktopConfig, "fyne")
}