Skip to content

Add Support for SnoreToast 'Application' Argument #430

@chevonc

Description

@chevonc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions