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

207
Views
electron JS - notificador de nodo: no se puede escuchar el evento cuando se establece appID

En ventana.

Antes de comenzar, establezca acciones para ello.

 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 });

Caso 1: appID = indefinido => se muestra el notificador de nodo y escucha el trabajo del evento

  • pero está en el grupo de tostadas de ronquidos. no es mi aplicación.

Caso 2: appID = my.app.id => se muestra el notificador de nodo y se muestra en mi grupo de aplicaciones

  • pero escucha el evento no funciona

En mi caso, quiero configurar appID = mi ID de aplicación para mostrar mi grupo de aplicaciones y escuchar el trabajo de eventos.

nota: he leído el código fuente de node-notifier:

Pasa la propiedad a SnoreToast.exe y lo ejecuta. Si configura appID para ello, Emit Event no funcionará, creo que sí.

consulte el problema: https://github.com/mikaelbr/node-notifier/issues/408

Si alguien tiene solución, por favor ayúdame. Gracias a todos

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!