julienXX / terminal-notifier

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

-activate doesn't launch application #196

Closed franciscolourenco closed 7 years ago

franciscolourenco commented 7 years ago

When notification is clicked, nothing happens.

terminal-notifier -message 'hello' -activate 'com.apple.Safari'

macOS 10.11.6 terminal-notifier 1.6.3

julienXX commented 7 years ago

@aristidesfl could you try to update to the latest terminal-notifier?

franciscolourenco commented 7 years ago

Any idea why there is a version installed in rbenv?

$ brew upgrade terminal-notifier
Error: terminal-notifier 1.7.1 already installed

$ terminal-notifier --version
terminal-notifier (1.6.3) is a command-line tool to send OS X User Notifications.

$ which terminal-notifier
/Users/user/.rbenv/shims/terminal-notifier
franciscolourenco commented 7 years ago

It seems to be creating that shim automatically out of nowere when executed or something.

franciscolourenco commented 7 years ago

1.7.1 has the same problem.

-sender and -activate work unreliably.

It worked once with Safari, most of the times does nothing, and sometimes activates Transmission.app instead.

brijazz commented 7 years ago

Same issue here, using 1.7.1. -activate works once and then stops functioning. Need to log out/in to restore functionality.

julienXX commented 7 years ago

Fixed in 1.8.0.

tshu-w commented 7 years ago

@julienXX Same issue here, using latest terminal-notifier(1.8.0), install by homebrew.