How to use the on function from node-notifier
Find comprehensive JavaScript node-notifier.on code examples handpicked from public code repositorys.
27 28 29 30 31 32 33 34 35 36
title: 'OBS Replay', message: 'Replay buffer saved to ' + game, sound: true, wait: false, }); notifier.on('click', function (notifierObject, options, event) { console.log(dir_path.split('/')[dir_path.split('/').length - 1]) exec('start "" "' + dir_path.split(dir_path.split('/')[dir_path.split('/').length - 1])[0] + '"') }); }
0
0
1
+ 15 other calls in file
node-notifier.notify is the most popular function in node-notifier (414 examples)