feat(control): store api (#3)

This commit is contained in:
2025-11-18 14:43:21 +01:00
committed by GitHub
parent 2ab9c82ccb
commit 3b8647e031
7 changed files with 152 additions and 34 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ func GetStoragePath() (string, error) {
if err != nil {
return "", fmt.Errorf("unable to determine user home directory: %w", err)
}
storagePath = filepath.Join(home, ".local", "share", "plg-mudics")
storagePath = filepath.Join(home, ".local", "share", "plg-mudics", "display")
if err := os.MkdirAll(storagePath, os.ModePerm); err != nil {
return "", fmt.Errorf("failed to create local config directory: %w", err)
}