PyBallProtector
PyBallProtector copied to clipboard
Failed to execute script sys_tray
When I try to run the program with run.exe, it greets me with the error code
Failed to execute script sys_tray
I've just downloaded it from your release page and tried to run it.
I figured out why this happens: The code in sys_tray.py tries to find a file called "icon.png" to display an icon in the tray. However, this file is not being bundled with the application.
@lukeclopez to fix this, check this out: https://pyinstaller.readthedocs.io/en/latest/spec-files.html#adding-files-to-the-bundle
@TheLux83 for a quick fix for now, you can also just download the icon.png from the repository and put it in the same folder as the run.exe
Hey @peter-schmidbauer, thanks for the tip. With the icon added to the folder, the app runs :-)