Files
lmvpn_client/internal/paths/paths_darwin.go
T
2026-07-06 16:21:06 +08:00

19 lines
329 B
Go

//go:build darwin
package paths
import (
"os"
"path/filepath"
)
func init() {
home, _ := os.UserHomeDir()
lib := filepath.Join(home, "Library")
Paths = Dirs{
Data: filepath.Join(lib, "Application Support", BundleID),
Cache: filepath.Join(lib, "Caches", BundleID),
Log: filepath.Join(lib, "Logs", BundleID),
}
}