Files
PulseGate-GUI/build_windows.bat
Pepe44DEV 3f20bc392c
Build Windows / build (push) Has been cancelled
Windows-Support, Build-Skripte und Installer fuer PulseGate Desktop
- Python-App cross-platform: %APPDATA%-Konfiguration, Terminal-Erkennung
  (wt/cmd/powershell), Windows-kompatibler SSH-Start, Segoe-UI-Fonts
- App-Icon (ICO/PNG) mit Skript ohne externe Abhaengigkeiten
- PyInstaller-Build (build_windows.bat) und Inno-Setup-Installer
- Gitea-Actions-Workflow fuer automatischen Windows-Build
- requirements.txt, .gitignore, README aktualisiert; __pycache__ entfernt
2026-09-06 22:28:55 +00:00

40 lines
1.0 KiB
Batchfile

@echo off
setlocal
REM ============================================================
REM Build PulseGate Desktop als Windows-EXE (PyInstaller)
REM Inno Setup-Build danach: installer\installer.iss oeffnen
REM bzw. als Script-Kompilierung ausfuehren.
REM ============================================================
set "PY=%PYTHON%"
if "%PY%"=="" set "PY=py -3"
if "%PY%"=="" set "PY=python"
echo [1/3] Installiere Build-Abhaengigkeiten ...
%PY% -m pip install --upgrade pip
%PY% -m pip install -r requirements-build.txt
if errorlevel 1 goto :error
echo [2/3] Generiere Icon-Assets ...
%PY% scripts\make_icon.py
if errorlevel 1 goto :error
echo [3/3] Baue EXE ...
%PY% -m PyInstaller ^
--noconfirm --clean ^
--onefile ^
--windowed ^
--name PulseGate ^
--icon assets\pulsegate.ico ^
desktop\pulsegate_desktop.py
if errorlevel 1 goto :error
echo.
echo Fertig! EXE liegt unter dist\PulseGate.exe
echo Installer: installer\installer.iss mit Inno Setup kompilieren.
exit /b 0
:error
echo.
echo Build fehlgeschlagen!
exit /b 1