mirror of
https://github.com/skoelle/marcer-gamedvd-launcher.git
synced 2026-09-18 03:00:25 +00:00
move all files
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
REM === Build script for MarcerGameDvdLauncher (requires .NET SDK 6 or newer) ===
|
||||
echo Building MarcerGameDvdLauncher...
|
||||
where dotnet >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] .NET SDK not found. Please install from https://dotnet.microsoft.com/download
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Im src-Ordner bauen (build.cmd liegt in scripts/)
|
||||
cd /d %~dp0
|
||||
cd ..\src\MarcerGameDvdLauncher
|
||||
|
||||
dotnet build -c Release
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] Build failed!
|
||||
exit /b 2
|
||||
)
|
||||
|
||||
REM Finden der fertigen .exe (Release-Verzeichnis)
|
||||
for /f "delims=" %%I in ('dir /b /s /a-d bin\Release\*MarcerGameDvdLauncher*.exe') do set EXEPATH=%%I
|
||||
if exist "%EXEPATH%" (
|
||||
echo [OK] Build complete. EXE: "%EXEPATH%"
|
||||
) else (
|
||||
echo [WARNING] Build appears successful but .exe not found!
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user