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
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