38 lines
1.0 KiB
Batchfile
38 lines
1.0 KiB
Batchfile
|
|
@echo off
|
||
|
|
rem ============================================================
|
||
|
|
rem Project Dashboard - alle 4 Dateien bauen (Voll + Demo)
|
||
|
|
rem Erzeugt in release\:
|
||
|
|
rem ProjectDashboard.exe (Voll, portabel)
|
||
|
|
rem ProjectDashboard-Setup.exe (Voll, Installer)
|
||
|
|
rem ProjectDashboard-Demo.exe (Demo, portabel)
|
||
|
|
rem ProjectDashboard-Demo-Setup.exe(Demo, Installer)
|
||
|
|
rem Setups brauchen Inno Setup 6 (winget install JRSoftware.InnoSetup).
|
||
|
|
rem Einfach doppelklicken.
|
||
|
|
rem ============================================================
|
||
|
|
setlocal
|
||
|
|
cd /d "%~dp0"
|
||
|
|
|
||
|
|
echo.
|
||
|
|
echo === 1/2 Vollversion bauen ===
|
||
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build.ps1" -Release
|
||
|
|
if errorlevel 1 goto :fail
|
||
|
|
|
||
|
|
echo.
|
||
|
|
echo === 2/2 Demo bauen ===
|
||
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build.ps1" -Demo
|
||
|
|
if errorlevel 1 goto :fail
|
||
|
|
|
||
|
|
echo.
|
||
|
|
echo === Fertig. Ergebnis in release\ ===
|
||
|
|
dir /b "%~dp0release\*.exe"
|
||
|
|
echo.
|
||
|
|
pause
|
||
|
|
exit /b 0
|
||
|
|
|
||
|
|
:fail
|
||
|
|
echo.
|
||
|
|
echo *** FEHLER beim Bauen - siehe Meldungen oben. ***
|
||
|
|
echo.
|
||
|
|
pause
|
||
|
|
exit /b 1
|