DatGuy1 / Windows-Toasts

Python library used to send toast notifications on Windows machines
Apache License 2.0
96 stars 6 forks source link

Check if Windows version supports the notifications #121

Closed Safihre closed 7 months ago

Safihre commented 7 months ago

We successfully rolled out our software with your code, which is working great. However, when users trigger a notification on a non-supported platform (like Windows 7 or Windows 2012), it results in a segfault instead of a Python exception. Is there a way to handle this more gracefully? Or is there a way to detect supported platforms and prevent it from trying to send the notification?

DatGuy1 commented 7 months ago

Thoughts on #122?

Safihre commented 7 months ago

Thanks! Already many thousands of users enjoying your work in our application :) https://sabnzbd.org/download-stats (version 4.2.1 was shipped with new toasts)