This commit is contained in:
2026-07-06 16:21:06 +08:00
commit bb9f685221
41 changed files with 4333 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
//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),
}
}