Spaces:
Sleeping
Sleeping
| @echo off | |
| setlocal EnableExtensions | |
| cd /d "%~dp0" | |
| set "ROOT=%~dp0" | |
| set "BUILDER=%ROOT%windows\JackAILocal-USB-Builder.ps1" | |
| set "TARGET=%LOCALAPPDATA%\JackAILocal" | |
| 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 Local Folder Builder | |
| echo Package root: %ROOT% | |
| echo Target folder: %TARGET% | |
| echo. | |
| if not exist "%BUILDER%" ( | |
| echo ERROR: Missing Windows builder script: | |
| echo %BUILDER% | |
| pause | |
| exit /b 1 | |
| ) | |
| powershell -NoProfile -ExecutionPolicy Bypass -File "%BUILDER%" -TargetMode LocalFolder -TargetDrive "%TARGET%" | |
| if errorlevel 1 ( | |
| echo. | |
| echo JackAILocal local folder build failed. See .jackailocal-builder\logs for details. | |
| pause | |
| exit /b 1 | |
| ) | |
| echo. | |
| echo JackAILocal was installed to: | |
| echo %TARGET% | |
| echo. | |
| echo Launching the real local runtime... | |
| call "%TARGET%\START-HERE.cmd" | |