gen2brain / dlgs

Go cross-platform library for displaying dialogs and input boxes
BSD 2-Clause "Simplified" License
385 stars 44 forks source link

Allow for alerts to fire from any user. #3

Closed leonjza closed 6 years ago

leonjza commented 6 years ago

While using this library to fire alerts for a golang app (more specifically an osquery plugin) which runs as root, alerts 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.