-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Aluerie❤ edited this page Dec 11, 2023
·
15 revisions
Welcome to the HextechButEfficient wiki!
There you can find extra information that doesn't really fit into README.md format or just notes that I save purely for myself.
I use
auto-py-to-exe
which is installed with pip install auto-py-to-exe
to convert my code into .exe
file.
- choose
__main__.py
- Choose Window-based
- choose
One Directory
- choose the icon
- Advanced -> name: HextechButEfficient
or the command
pyinstaller --noconfirm --onedir --windowed --icon "D:/LAPTOP/HextechButEfficient/assets/icons/sivir_icon.ico" --name "HextechButEfficient" "D:/LAPTOP/HextechButEfficient/__main__.py"
Then copy paste assets
folder to the root of the new folder. Idk why it cant properly copy assets into exe-root.
After generating the output go there and copy-paste our assets/
folder there since auto-py-to-exe
doesn't add them properly into the root (or am I stupid?).
Now we can zip it and ship it.