Notifications errors out with "ERROR: Notifications are not allowed for this application"
Describe the bug launch '/usr/local/bin/dialog --notification --title " " --message " "' or '/usr/local/bin/dialog --notification --title "Title" --message "Message "', I get "ERROR: Notifications are not allowed for this application" error
To Reproduce just rerun the command on command line or CodeRunner
Expected behavior To display a notification
Screenshots
Desktop (please complete the following information):
- macOS: 14.4.1
- swiftDialog version: 2.4.2 (4755)
Additional context Add any other context about the problem here.
you need to allow the notification either manually in system settings -> notifications or via config profile as per https://github.com/swiftDialog/swiftDialog/wiki/Notifications#approving-and-setting-notification-type-via-mdm