Download scripts/local-stream/offline/load-images.cmd from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/scripts/local-stream/offline/load-images.cmd
- Command line
-
hf download hf://Anirudh1950/MentraOS/scripts/local-stream/offline/load-images.cmd
-
curl -L -o load-images.cmd https://huggingface.co/Anirudh1950/MentraOS/resolve/main/scripts/local-stream/offline/load-images.cmd
572 Bytes
| @echo off | |
| REM Load offline MediaMTX image. Pauses on failure so double-click errors stay visible. | |
| setlocal | |
| cd /d "%~dp0" | |
| set "ERR=0" | |
| where docker >nul 2>&1 | |
| if errorlevel 1 ( | |
| echo ERROR: docker not found. Start Docker Desktop and retry. | |
| set "ERR=1" | |
| goto :end | |
| ) | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0load-images.ps1" %* | |
| set "ERR=%ERRORLEVEL%" | |
| :end | |
| if not "%ERR%"=="0" ( | |
| echo. | |
| echo FAILED with exit code %ERR%. | |
| pause | |
| ) else ( | |
| echo. | |
| echo Done. You can close this window. | |
| pause | |
| ) | |
| endlocal & exit /b %ERR% | |