jithurjacob / Windows-10-Toast-Notifications

Python library to display Windows 10 Toast Notifications
MIT License
970 stars 168 forks source link

PyInstaller cause bug, exception and no toast displayed(with workaround) #35

Open jimakr opened 6 years ago

jimakr commented 6 years ago

When trying to pack into an exe with pyinstaller many user got an error that something went wrong despite everything working correctly on script. I have found the issue to be the preconfigured icon because pyinstaller does not recognize it as a resource when running as an exe. Solution: just pass a custom icon in the toast. you will get an error not finding it if it's not in exe's folder but it will work

pierrenedelec commented 5 years ago

Thanks you for your reply . It works with icon path mention . icon won't be add to exe file but can be used if put inside dist folder :)