@echo off setlocal set "PACKAGE_LAUNCHER=%~dp0dist\sense-windows-amd64\start-sense.bat" if not exist "%PACKAGE_LAUNCHER%" ( echo [ERROR] Sense Windows delivery package was not found. echo Expected launcher: "%PACKAGE_LAUNCHER%" echo Build it first with: "%~dp0scripts\build\build-windows.bat" endlocal exit /b 2 ) call "%PACKAGE_LAUNCHER%" %* set "SENSE_EXIT_CODE=%ERRORLEVEL%" endlocal & exit /b %SENSE_EXIT_CODE%