diff --git a/build.bat b/build.bat index e6c1b67c8..dfaaa4629 100644 --- a/build.bat +++ b/build.bat @@ -38,7 +38,6 @@ rmdir /Q /S dist %py% -m PyInstaller "Win.spec" if %errorlevel% neq 0 goto:error -pause timeout 5 pushd dist\wingetuiBin\PySide6 diff --git a/wingetui/Win.spec b/wingetui/Win.spec index 8fc83b3e1..11daa31ec 100644 --- a/wingetui/Win.spec +++ b/wingetui/Win.spec @@ -11,7 +11,7 @@ import importlib, os a = Analysis(['__init__.py'], pathex=['WingetUI-Store\wingetui_bin'], binaries=[('*.pyc', '.')], - datas=[('choco-cli/', 'choco-cli/'), ("components/", "components/"), ("data/*.pyc", "data/"), ("ExternalLibraries/*.pyc", "ExternalLibraries/"), ("Interface/", "Interface/"), ("lang/", "lang/"), ("PackageManagers/", "PackageManagers/"), ("resources/", "resources")], + datas=[('choco-cli/', 'choco-cli/'), ("components/", "components/"), ("data/*.pyc", "data/"), ("ExternalLibraries/", "ExternalLibraries/"), ("Interface/", "Interface/"), ("lang/", "lang/"), ("PackageManagers/", "PackageManagers/"), ("resources/", "resources")], hiddenimports=['pkg_resources.py2_warn', "win32gui", "cls"], hookspath=[], runtime_hooks=[],