Closed flayman closed 1 year ago
I used Auto PY to EXE to generate the release you'll need to add the static, templates and vgamepad folders as additional folders.
The command it generated is pyinstaller --noconfirm --onedir --windowed --icon "D:/Projects/pythonProjects/StadiaWireless/logo.ico" --add-data "D:/Projects/pythonProjects/StadiaWireless/static;static/" --add-data "D:/Projects/pythonProjects/StadiaWireless/templates;templates/" --add-data "D:/Projects/pythonProjects/StadiaWireless/vgamepad;vgamepad/" "D:/Projects/pythonProjects/StadiaWireless/server.py"
Thank you. This is very good information. Might I suggest you make this part of the documentation?
Updated the readme to include the pyinstaller commands
I've tried to make a distribution using pyinstaller, but I can't get it working. I wanted to set the port number for the server. Could you please explain how making a binary release works? Alternatively, it would be nice if the port number was configurable instead of random.