mikaelbr / node-notifier

A Node.js module for sending notifications on native Mac, Windows and Linux (or Growl as fallback)
MIT License
5.72k stars 323 forks source link

icon mac m1 max icon show disabeld #422

Open sx13694658890 opened 1 year ago

sx13694658890 commented 1 year ago

image

code copy markdown

image

please help how to show icon

DerDeathraven commented 1 year ago

icon path has to be absolute

marktoman commented 1 year ago

An absolute path doesn't help, and no icon shows up when running the examples as well on Ventura 13.4.1

carllx commented 6 months ago

I found this to be a time-killing, fruitless attempt.

darcyadams commented 1 month ago

Same issue here, all attempts on an M1 mac running MacOS 14.5 with notifier 10.0.1 to get an icon to show have failed. Absolute path included (although I had been using a relative path for at least the last 2 years and it was working until recently). I have also tried omitting the icon property (which the docs suggest the Terminal Icon would be used as it is the default and also this notification is being generated there). Finally there is an example in the docs that shows the default icon: 'Terminal Icon', even when specifying this default, I still get the circle with the X. I'll also note that contentImage is displaying properly, and I have swapped in the values I am using for icon, and the icon image displays correctly as the contentImage, which rules out a corrupt file or other similar issue.