From ccfb96be105602f010d5d9e2b582ae4c724f97c3 Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Sat, 26 Feb 2022 05:13:02 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b05c5fa..477451a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,10 +39,11 @@ jobs: run: | pyinstaller \ --onefile Movie_Data_Capture.py \ + --hidden-import "ImageProcessing.hog" \ --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 "ImageProcessing:ImageProcessing" \ --add-data "config.ini:." \ - name: Build with PyInstaller for windows @@ -50,10 +51,11 @@ jobs: run: | pyinstaller ` --onefile Movie_Data_Capture.py ` + --hidden-import "ImageProcessing.hog" ` --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 "ImageProcessing:ImageProcessing" ` --add-data "config.ini;." ` - name: Copy config.ini