jackailocal / BUILD-USB.cmd
jackboy70's picture
Deploy: lite-bundle guard on all build launchers
20fe10e
Raw
History Blame Contribute Delete
1.56 kB
@echo off
setlocal EnableExtensions
cd /d "%~dp0"
set "ROOT=%~dp0"
set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1"
if not exist "%ROOT%bin\jackailocald.exe" (
echo.
echo ============================================================
echo JackAILocal - lite inspection bundle
echo ============================================================
echo This package was exported from the hosted Hugging Face Space.
echo It ships the builder scripts, WebUI, config and the AI-reviewed
echo build manifest - but NOT the native runtime binaries or models,
echo which a hosted Space cannot ship.
echo.
echo You cannot build a target from this lite bundle. To build and
echo run JackAILocal, get the full package with binaries from the
echo project repository and run this script from there.
echo.
echo See README-FIRST.txt and manifest\build-manifest.json for details.
echo ============================================================
echo.
pause
exit /b 0
)
echo JackAILocal USB Builder
echo Package root: %ROOT%
if not exist "%BUILDER%" (
echo.
echo ERROR: Missing Windows builder script:
echo %BUILDER%
echo Do not copy BUILD-USB.cmd alone. Extract the full ZIP first.
echo.
pause
exit /b 1
)
echo Using builder script:
echo %BUILDER%
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%BUILDER%" -TargetMode USB
if errorlevel 1 (
echo.
echo JackAILocal USB Builder failed. See .jackailocal-builder\logs for details.
pause
exit /b 1
)
echo.
echo JackAILocal USB Builder finished.
pause