[feat] add packet command for python

This commit is contained in:
zhji 2025-11-22 18:09:37 +08:00
parent 7fe648f669
commit 888a7023d8

12
python/common/packet.txt Normal file
View File

@ -0,0 +1,12 @@
# installer
pip install PyInstaller -i https://mirrors.aliyun.com/pypi/simple/
# only windows without console
python.exe -m PyInstaller --onefile --windowed --name exe_name .\source_mame.py
# windows with console
python.exe -m PyInstaller --onefile --console --name exe_name .\source_name.py
# basic
python.exe -m PyInstaller --onefile --name exe_name .\source_name.py