Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

201
Views
electron JS - node-notifier: Can not listen to the event when set appID

On window.

Before starting, set actions for it.

notifier.notify({
  title: 'My notification',
  message: 'Hello, there!',
  actions: ["ok","cancel"]
});

notifier.on('ok', function (notifierObject, options, event) {
  // Triggers click ok
});

notifier.on('cancel', function (notifierObject, options, event) {
  // Triggers click cancel
});


Case 1: appID = undefined => node-notifier is displayed and listen event work

  • but it is in the snore toast group. not my app.

Case 2: appID = my.app.id => node-notifier is displayed and it display is in my app group

  • but listen event not work

In my case, I want to set appID = my App ID to show my app group and listen to event work.

note: I have read the source code of node-notifier:

It passes property to SnoreToast.exe and executes it. If set appID for it, Emit Event will not work, I think so.

refer issue: https://github.com/mikaelbr/node-notifier/issues/408

If anyone have solution, plz help me. Thanks all

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!