opencc need in pyinstaller --add-data

This commit is contained in:
lededev
2021-11-01 05:07:53 +08:00
parent 3b498d32ca
commit 3786f58bb6
6 changed files with 15 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ make:
@echo "[+]Pyinstaller make"
pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py \
--add-data "`python3 -c 'import opencc as _; print(_.__path__[0])' | tail -n 1`:opencc" \
--add-data "Img:Img" \
--add-data "config.ini:." \