I made a script with GUI (using the pySimpleGui library) and this GUI has some images and all of them are stored in the folder img (the structure is like .\script\app.py and .\script\img\*.png). When I use pyinstaller without option --onefile then everything is ok and in dist folder, I can find my app.exe with a bunch of other files and folders and I can run it without any problem with all images included.
However, I would like to have a single .exe to distribute so when I add an option --onefile the app.exe no longer works as pysimpleGui complains about missing images.
Any idea how I can cramp the entire img folder with all of the files to the .exe file? I'm using --add-data option and this works fine as long as --one-file is not used.