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

16 lines
301 B
Go

//go:build !ci && !android && !ios && !wasm && !test_web_driver
package app
import (
"os"
"path/filepath"
)
func rootConfigDir() string {
homeDir, _ := os.UserHomeDir()
desktopConfig := filepath.Join(filepath.Join(homeDir, "AppData"), "Roaming")
return filepath.Join(desktopConfig, "fyne")
}