mac display-notification 的图标
mac display-notification's icon
我用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) {
})
它来了喜欢
怎么会这样
问题:
如何更改左侧的图标显示?
已经有一个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).
我用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) {
})
它来了喜欢
怎么会这样
问题:
如何更改左侧的图标显示?
已经有一个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).