From b71d6bc685736d310746d436a439de6807770cde Mon Sep 17 00:00:00 2001 From: Gabriel Fernandes Date: Tue, 17 Dec 2019 03:22:20 -0300 Subject: [PATCH] NotifySend support for app name --- lib/utils.js | 4 +++- notifiers/notifysend.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index 1870cf8..e8b258e 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -43,7 +43,9 @@ var notifySendFlags = { category: 'category', subtitle: 'category', h: 'hint', - hint: 'hint' + hint: 'hint', + a: 'app-name', + 'app-name': 'app-name' }; module.exports.command = function(notifier, options, cb) { diff --git a/notifiers/notifysend.js b/notifiers/notifysend.js index 8e18512..a89dd7a 100644 --- a/notifiers/notifysend.js +++ b/notifiers/notifysend.js @@ -72,7 +72,7 @@ NotifySend.prototype.notify = function(options, callback) { return this; }; -var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint']; +var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint', 'app-name']; function doNotification(options, callback) { var initial, argsList;