From 236d2bf78fed2a1489c6db74a887c7499e387f6e Mon Sep 17 00:00:00 2001 From: Alex Zhao Date: Mon, 5 Sep 2022 14:32:31 +0800 Subject: [PATCH] add -u option --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb98793..3c06acc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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" `