Windows-Support, Build-Skripte und Installer fuer PulseGate Desktop
Build Windows / build (push) Has been cancelled
Build Windows / build (push) Has been cancelled
- 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
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user