gen2brain / beeep

Go cross-platform library for sending desktop notifications, alerts and beeps
BSD 2-Clause "Simplified" License
1.43k stars 89 forks source link

Allow for notifications from any user. #13

Closed leonjza closed 6 years ago

leonjza commented 6 years ago

While using this library to fire notifications for a golang app (more specifically an osquery plugin) which runs as root, notifications wouldn't fire as root had no logged in session. Setting the osascript to tell application "System Events" made the alert popup on the currently logged in users screen.