Open charlottehu111 opened 2 years ago
I'm seeing this too, and it appears to have started after the Big Sur 11.6 update. I know it was working correctly before that.
I am seeing it too, and like charlottehu111, it only started with Big Sur 11.6.
I'm having the same issue too, and it was right after I installed Big Sur 11.6.
I am also having the same issue and I am on Big Sur 11.6. Please fix this soon!
I'd like to note that in addition to -open
no longer working, -execute
is also broken now. So you can't replace -open https://google.com'
with -execute '/usr/bin/open https://google.com'
, for example.
I haven't tried the fix linked above since it's not merged yet, but for anyone hitting this you might want to try replacing terminal-notifier
with alerter
, linked in the first post on this page (direct GitHub link). That's what I did in my scripts and I have restored the features that were broken by this bug.
alerter
works slightly differently, but can be used to do the same thing. For example if you had:
terminal-notifier -title 'my title' -message 'my message' -open 'https://google.com'
Then you can replace it with:
outcome=$(alerter -title 'my title' -message 'my message')
if [[ $outcome == '@CONTENTCLICKED' ]]; then
open 'https://google.com'
fi
Hi, is there a posibility/plan to fix this issue?
Maybe this project should be forked? If I depended on it more, I'd consider doing so myself. But I switched to Alerter when this problem started.
Sorry I don't own a Mac at the moment (mine died and not sure I'll have the funds for a new one soon). I guess Apple changed their APIs I'll need to look into this but time is an issue for me these days.
johnlee999's pull request above fixed the issue for me.
Thx for your replys! Didn´t know how to use such a pull request
Clicking the notification works again for me after upgrading to macOS Monterey.
It also works correctly again with Big Sur 11.6.1.
Please check everything that applies to your issue:
To help us debug your issue please include:
Hope someone help me with this issue...
Common issues and solution:
Thanks!