add -u option

This commit is contained in:
Alex Zhao
2022-09-05 14:32:31 +08:00
parent 2bb50f4a47
commit 236d2bf78f

View File

@@ -39,6 +39,7 @@ jobs:
run: |
pyinstaller \
--onefile Movie_Data_Capture.py \
--python-option u \
--hidden-import "ImageProcessing.cnn" \
--add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper" \
--add-data "$(python -c 'import opencc as _; print(_.__path__[0])' | tail -n 1):opencc" \
@@ -51,6 +52,7 @@ jobs:
run: |
pyinstaller `
--onefile Movie_Data_Capture.py `
--python-option u `
--hidden-import "ImageProcessing.cnn" `
--add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1);cloudscraper" `
--add-data "$(python -c 'import opencc as _; print(_.__path__[0])' | tail -n 1);opencc" `