I have made a python program using pygame, and I want to make it a bundled executable. The command I have tried using is this
pyinstaller --onefile --windowed --add-data "./resources;." main.py
.
The resources
directory is the only directory with files I need to access (*.png, *.wav). After running the produced .exe file, I get error. I don't think it's a problem with the type of audio file, although if it is I can easily change it to OGG or MP3.
PyInstaller tends to be weird and error prone for me, so thank you in advance for any help!