@echo off rem Builds the bridge and starts Grovewright from this folder. cd /d "%~dp0" cargo build -p grovewright-bridge || goto failed rem The first import of a fresh checkout crashes while Godot shuts down rem (Godot 4.7.2 with a Rust extension). The import has happened by then, rem and a second run succeeds. Batch reports the crash as a negative exit rem code, so the check compares with zero instead of using errorlevel 1. godot --headless --path game --import if %errorlevel% neq 0 godot --headless --path game --import || goto failed godot --path game goto :eof :failed echo. echo Grovewright konnte nicht gestartet werden. Die Meldungen oben nennen den Grund. pause exit /b 1