I made a simple app that sends notifications in Go. In Linux, using notify-send
everything works well, while in macOS osascript
sends notifications without the icon (it uses the default AppleScript icon), and I need my icon to be displayed. I also don't want to use terminal-notifier
, since not everyone has it.
How can I send notifications with Go in macOS displaying the icon (with osascript
or even with some other external library)?