I am making an electron desktop app for windows. I have used node-notifier and in-built electron notification. These notifications are fired when I run the app in development. But when I package the app and install it on a windows computer, the notifications fail to fire. What steps should be included while building the app to ensure notifications work? I am using electron-builder to build the app.
Asked
Active
Viewed 592 times
2
-
Did you figure out solution? – Noitidart Apr 06 '19 at 16:00
-
@Noitidart, the requirements changed soon after and we did not have to do it. So I did not get time to explore for a solution – suku Apr 08 '19 at 04:21
-
Darn, thanks though for the reply. What I did for Windows users is use `node-notifier` package, and then for others I'm using built-in `Notification` module. `node-notifier` on Mac has a weird terminal icon (there is a popular issue its github repo) – Noitidart Apr 08 '19 at 15:04
-
@Noitidart why don't you elaborate and answer the question. I'll mark it as answered – suku Apr 09 '19 at 04:39
-
I had to add `appName` for windows - https://stackoverflow.com/a/47852798/1828637 – Noitidart Apr 09 '19 at 11:57
-
@Noitidart did you test on windows 7 pc? – suku Apr 09 '19 at 11:59
-
No I didnt, do you have win7? I would love to hear if it works. – Noitidart Apr 09 '19 at 12:05
-
No I don't. You can make a Windows 7 VM and check – suku Apr 09 '19 at 12:09
-
Share steps on Win7 VM. Make it basic and super easy for first timer. – Noitidart Apr 09 '19 at 12:26