问题
In my project folder I've another folder ('hooks') where I put the dll files. With the following command everything works correctly:
pyinstaller --add-binary="hooks;." main.py
How can I add the --onefile option?
I've already tried pyinstaller --onefile --add-binary="hooks;." main.py, but the .exe can't find my dll files
Thank you
来源:https://stackoverflow.com/questions/61009315/pyinstaller-use-add-binary-and-onefile