From fdbcd61bacd3ea24be6e999dcd5ca3200d9a5237 Mon Sep 17 00:00:00 2001 From: piotrj Date: Fri, 5 Apr 2024 20:02:44 +0200 Subject: [PATCH] hook + collect-binaries --- scripts/pyinstaller.run.bat | 4 ++-- scripts/pyinstaller.run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pyinstaller.run.bat b/scripts/pyinstaller.run.bat index a2ed70d..fbd8e65 100644 --- a/scripts/pyinstaller.run.bat +++ b/scripts/pyinstaller.run.bat @@ -21,11 +21,11 @@ @echo. @echo running-pyinstaller-stage_dude -pyinstaller --version-file=version.pi.dude.txt --noconfirm --clean --add-data="distro.info.txt:." --add-data="version.txt;." --add-data="../LICENSE;." --icon=icon.ico --distpath=%OUTDIR% --windowed --contents-directory=internal --name dude dude.py || exit /b 2 +pyinstaller --version-file=version.pi.dude.txt --noconfirm --clean --add-data="distro.info.txt:." --add-data="version.txt;." --add-data="../LICENSE;." --icon=icon.ico --distpath=%OUTDIR% --windowed --contents-directory=internal --name dude --additional-hooks-dir=. --collect-binaries tkinterdnd2 dude.py || exit /b 2 @echo. @echo running-pyinstaller-dudecmd -pyinstaller --version-file=version.pi.dudecmd.txt --noconfirm --clean --add-data="distro.info.txt:." --add-data="version.txt;." --add-data="../LICENSE;." --icon=icon.ico --distpath=%OUTDIR% --console --contents-directory=internal --name dudecmd console.py || exit /b 1 +pyinstaller --version-file=version.pi.dudecmd.txt --noconfirm --clean --add-data="distro.info.txt:." --add-data="version.txt;." --add-data="../LICENSE;." --icon=icon.ico --distpath=%OUTDIR% --console --contents-directory=internal --name dudecmd console.py || exit /b 1 move %OUTDIR%\dudecmd\dudecmd.exe %OUTDIR%\dude diff --git a/scripts/pyinstaller.run.sh b/scripts/pyinstaller.run.sh index c954956..26d959a 100755 --- a/scripts/pyinstaller.run.sh +++ b/scripts/pyinstaller.run.sh @@ -21,7 +21,7 @@ echo pyinstaller `pyinstaller --version` >> distro.info.txt echo '' echo running-pyinstaller-stage_dude -pyinstaller --strip --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir ./dude.py +pyinstaller --strip --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir --additional-hooks-dir=. --collect-binaries tkinterdnd2 ./dude.py echo '' echo packing