added patool hidden import for setup script

This commit is contained in:
k4yt3x 2020-05-12 04:39:24 -04:00
parent e6702d4486
commit 379d699c0d
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@ jobs:
run: | run: |
pyinstaller --noconfirm --log-level=WARN ` pyinstaller --noconfirm --log-level=WARN `
--onefile ` --onefile `
--hidden-import=patool `
--icon="images\video2x.ico" ` --icon="images\video2x.ico" `
video2x_setup.py video2x_setup.py
- name: Collect artifacts into folder - name: Collect artifacts into folder

View File

@ -2,7 +2,7 @@
Name: Video2X Build Script Name: Video2X Build Script
Creator: K4YT3X Creator: K4YT3X
Date Created: May 6, 2020 Date Created: May 6, 2020
Last Modified: May 7, 2020 Last Modified: May 12, 2020
Description: A PowerShell script that will build Video2X Description: A PowerShell script that will build Video2X
executable (PE) releases automatically using PyInstaller. executable (PE) releases automatically using PyInstaller.
@ -48,6 +48,7 @@ pyinstaller --noconfirm --log-level=WARN `
Write-Host -ForegroundColor White "`nBuilding Video2X setup script" Write-Host -ForegroundColor White "`nBuilding Video2X setup script"
pyinstaller --noconfirm --log-level=WARN ` pyinstaller --noconfirm --log-level=WARN `
--onefile ` --onefile `
--hidden-import=patool `
--icon="images\video2x.ico" ` --icon="images\video2x.ico" `
video2x_setup.py video2x_setup.py