julienXX / terminal-notifier

Send User Notifications on macOS from the command-line.
Other
6.36k stars 331 forks source link

-open does not work in macOS Sonoma #306

Open forthrin opened 10 months ago

forthrin commented 10 months ago

Please check everything that applies to your issue:

To help us debug your issue please include:

  1. terminal-notifier -title title -message message -open file:///
  2. Clicking "Show" does not open any URL

This stopped working after installing 14.0

chenrui333 commented 8 months ago

To add more context, the 2.0.0 build only failed with sonoma intel

  clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a'; try increasing the minimum deployment target

  /tmp/terminal-notifier-20230915-4674-15hq0ss/terminal-notifier-2.0.0/Terminal Notifier.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 14.0.99. (in target 'terminal-notifier' from project 'Terminal Notifier')

full error log, https://github.com/Homebrew/homebrew-core/actions/runs/6196199996

forthrin commented 8 months ago

-open works for me again. I don't know why it didn't work temporarily.

kupietools commented 3 months ago

-open not working for me in monterey. Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier -message "test" -open "imap-message://[user]%40[domain].com@imap.gmail.com/INBOX#51088" does nothing when I click the notification or the "show" button. open "imap-message://[user]%40[domain].com@imap.gmail.com/INBOX#51088" by itself on the command line works fine.

EDIT: Belay that. I somehow had a frozen terminal-notifier process in the background. I killed it and open and execute suddenly work again.