-
Notifications
You must be signed in to change notification settings - Fork 322
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
Notification for win8 changed to snoretoast by KDE . This enables not… #134
Conversation
…ification to be created by the app without a startmenu shortcut ,as snoretoast creates it automatically. And thus notifications can now come in win8 seamlessly without any issues
This looks extremely promising! I'll have @mikaelbr look into this. |
Looks very promising indeed. Should also remove the existing toaster.exe with this. And I need to verify that everything works as before with the same API on Windows. |
This seems to cause problems with default behaviour and is broken from the original toaster handling and this one: When using
as |
@mikaelbr Changed -q to silent and updated the PR . Thanks for pointing out ! Had missed it . I ll just test it once more |
@mikaelbr Fixed and tested |
@@ -56,6 +56,13 @@ module.exports.fileCommand = function (notifier, options, cb) { | |||
}); | |||
}; | |||
|
|||
module.exports.fileCommandForWin = function (notifier, options, cb) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this used instead of just fileCommand
? E.g. it breaks using the CLI (and probably regular invocation). But using fileCommand
instead works with the cli on both cmd.exe, powershell, cmder, git bash.
@master-atul Thanks for the update! 👍 |
@mikaelbr The reason for making an additonal fileCommandForWin is because it is using child_process.spawn instead of execFile. For some reason certain exe files do not work well with execFile. And now all test cases are passing 🎉 |
Perfect! 👍
We had an issue with this when referring to implicit file ending (without The advantage of using As I mentioned I had issues when using |
Merged manually. E.g. 76d2734 |
Thanks for your work 🎉 |
Changed toaster.exe to snoretoast.exe form https://github.com/KDE/snoretoast
This toaster is better than the previous one because it doesnt necessarily require the app to havea start menu shortcut present in windows8 to show notification ,As snoretoast creates it automatically.
The previous toaster.exe was giving me a lot of issues in win8 as my app didnt have a shortcut on startmenu. And i fixed it by replacing it with snoretoast which works seamlessly.
And thus notifications can now come in win8 seamlessly without any issues