diff --git a/backend/config/userdata.go b/backend/config/userdata.go index 3ae2eb1..58e8918 100644 --- a/backend/config/userdata.go +++ b/backend/config/userdata.go @@ -18,7 +18,7 @@ func GetUserConfigDirPath() (string, error) { } switch currentOS := runtime.GOOS; currentOS { case "darwin": - fallthrough + path = fmt.Sprintf("/Users/%s/.config/yellowjacket", currentUser.Username) case "linux": path = fmt.Sprintf("/home/%s/.config/yellowjacket", currentUser.Username) case "windows": @@ -55,7 +55,7 @@ func getUserDataDirPath() (string, error) { } switch currentOS := runtime.GOOS; currentOS { case "darwin": - fallthrough + path = fmt.Sprintf("/Users/%s/.local/share/yellowjacket", currentUser.Username) case "linux": path = fmt.Sprintf("/home/%s/.local/share/yellowjacket", currentUser.Username) case "windows":