Description
@OhadRau and I were looking earlier at extending Notification to Windows support once #672 gets merged. (Sidenote, Linux is easy -- libnotify
is very straightforward)
The problem is, as always, which API should we use? As of Win8+, there is a notification system similar to what is available on macOS, Toast Notifications: ToastNotification class. However, the primary support for this is for UWP apps. Here is a guide on how to use them with Win32 apps. There is also WinToast which is used by some pretty big projects it looks like (Git for Windows, namely), but I doubt we want to add this as a dependency (it remains an option though)
There is also a really primitive notification UI in Win7, but that's not really what the modern definition of "notification" is -- it's sort of like a quick reminder, i.e. battery low.
It's worth noting that Electron uses the Toast API, but that's likely because Chromium does. IIRC, in Win7-, they draw their own notifications on the screen like Firefox on Windows does now.
@bryphe and @Et7f3, I know you guys have more Windows experience, so if you guys have anything else to add, it would be very helpful.
Hopefully we can get this sorted soon so we can add the Windows implementation!