From 99b2c4c6d45492b85f9fb286f2c8c3f62c9ec15c Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Thu, 4 May 2023 16:56:05 +0800 Subject: [PATCH] Update action file --- .github/workflows/main.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e78cd7..2045875 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,11 +49,11 @@ 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" \ - --add-data "$(python -c 'import face_recognition_models as _; print(_.__path__[0])' | tail -n 1):face_recognition_models" \ + --collect-submodules "scrapinglib" \ + --collect-submodules "ImageProcessing" \ + --collect-data "face_recognition_models" \ + --collect-data "cloudscraper" \ + --collect-data "opencc" \ --add-data "Img:Img" \ --add-data "config.ini:." \ @@ -62,13 +62,13 @@ 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" ` - --add-data "$(python -c 'import face_recognition_models as _; print(_.__path__[0])' | tail -n 1);face_recognition_models" ` - --add-data "Img;Img" ` - --add-data "config.ini;." ` + --collect-submodules "scrapinglib" ` + --collect-submodules "ImageProcessing" ` + --collect-data "face_recognition_models" ` + --collect-data "cloudscraper" ` + --collect-data "opencc" ` + --add-data "Img:Img" ` + --add-data "config.ini:." ` - name: Copy config.ini run: |