//go:build windows package config import ( "os" "path/filepath" ) // ConfigDir returns %LOCALAPPDATA%\syncwarden. func ConfigDir() string { return filepath.Join(os.Getenv("LOCALAPPDATA"), "syncwarden") } // SyncthingConfigPath returns the default Syncthing config.xml path on Windows. func SyncthingConfigPath() string { return filepath.Join(os.Getenv("LOCALAPPDATA"), "Syncthing", "config.xml") }