Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for SnoreToast 'Application' Argument #430

Open
chevonc opened this issue Feb 9, 2023 · 0 comments
Open

Add Support for SnoreToast 'Application' Argument #430

chevonc opened this issue Feb 9, 2023 · 0 comments

Comments

@chevonc
Copy link

chevonc commented Feb 9, 2023

Hi! 👋

Firstly, thanks for your work on this project! 🙂

I found the need to be able to pass the application parameter, so notifications in action center will launch my app when clicked.

Here is the diff that solved my problem:

diff --git a/node_modules/node-notifier/lib/utils.js b/node_modules/node-notifier/lib/utils.js
index fe4b164..f31035f 100644
--- a/node_modules/node-notifier/lib/utils.js
+++ b/node_modules/node-notifier/lib/utils.js
@@ -363,7 +363,8 @@ const allowedToasterFlags = [
   'pid',
   'pipeName',
   'close',
-  'install'
+  'install',
+  'application'
 ];
 const toasterSoundPrefix = 'Notification.';
 const toasterDefaultSound = 'Notification.Default';

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant