opencc need in pyinstaller --add-data
This commit is contained in:
1
Makefile
1
Makefile
@@ -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:." \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user