Skip to content

Commit

Permalink
Add build script for windows wrapper exes
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Nov 18, 2023
1 parent bca2af1 commit 3c1a307
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
15 changes: 15 additions & 0 deletions other/wrapper/pyInstaller/buildWindows.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off
call ..\venv_py3\scripts\activate.bat
copy ..\nzbhydra2wrapperPy3.py windows
cd windows
echo "Running pyinstaller for Windows"
pyinstaller NzbHydra2.spec
copy dist/NZBHydra2.exe ..\..\..\..\releases\windows-release\include
echo "Finished running pyinstaller for Windows"
cd ..
copy ..\nzbhydra2wrapperPy3.py windows_console
cd windows_console
echo "Running pyinstaller for Windows Console"
pyinstaller "NzbHydra2 Console.spec"
copy "dist\NZBHydra2 Console.exe" ..\..\..\..\releases\windows-release\include
echo "Finished running pyinstaller for Windows Console"
1 change: 0 additions & 1 deletion other/wrapper/pyInstaller/buildWrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#


echo "Make sure to also build the wrapper for arm"

echo "todo windows build returns unusable exe"

Expand Down
4 changes: 2 additions & 2 deletions releases/linux-amd64-release/include/executables/nzbhydra2
Git LFS file not shown
4 changes: 2 additions & 2 deletions releases/windows-release/include/NZBHydra2 Console.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions releases/windows-release/include/NZBHydra2.exe
Git LFS file not shown

0 comments on commit 3c1a307

Please sign in to comment.