Files
sbox-public/engine/Tools/EditorLauncher/BuildEditorLauncher.bat

18 lines
375 B
Batchfile

@echo off
setlocal
set "PROJECT_DIR=%~dp0"
set "OUTPUT_DIR=%~dp0..\..\..\steamworks\editor-launcher-output"
echo Building Editor Launcher (NativeAOT)...
dotnet publish "%PROJECT_DIR%EditorLauncher.csproj" -c Release -o "%OUTPUT_DIR%"
if %ERRORLEVEL% neq 0 (
echo.
echo Build failed!
exit /b 1
)
echo.
echo Build complete. Output: %OUTPUT_DIR%\sbox-editor.exe