I write in nodejs
var exec = require('child_process').exec;
var pwd = 'osascript -e \'display notification "'+path.basename(des)+'" with title "'+ name + time +'"\''
exec(pwd, function (error, stdout, stderr) {
})
It comes likes
How could it be like
Question :
How can i change the icon display on left?
There's already an answer for this on AskDifferent.
As of the Apple Documentation
display notification
does not have a parameter to change te icon.
display notification
will use the icon of your script. One of your option is to change the icon of your bundle (cf screen).