I've made a function for my node-webkit application to trigger a OS X notification. It works perfectly but I wonder if I can set a system or custom sound instead of the classic iPhone boing sound?
I've looked up the official notification API documentation from Mozzila (https://developer.mozilla.org/en-US/docs/Web/API/notification) and there is no sound option, however maybe node-webkit implanted that function (can't imagine they didn't) but if they did, I can't seem to find any documentation about it.
So my question is, is there a sound option for notifications in node-webkit?
function notif(title ,tekst, url){
var notice = new Notification(title, {
body: tekst
});
notice.onshow = function(evt) {
setTimeout(function(){notice.close()}, 5000);
}
notice.onclick = function(evt) {
gui.Shell.openExternal(url);
setTimeout(function(){notice.close()}, 1000);
};
}