@echo off REM Pack Bootloader project into Output\bootloader_package.zip REM Bootloader/ is fully self-contained (own Drivers/ + Shared/). REM Keep this file pure ASCII - cmd parses .bat in GBK. setlocal cd /d "%~dp0\.." set PY=python where python >nul 2>nul || set PY=py %PY% tools\pack.py bl if errorlevel 1 ( echo [ERR] pack failed - python not found in PATH? ) endlocal