@echo off setlocal EnableExtensions chcp 65001 >nul set PYTHONIOENCODING=utf-8 set PYTHONUTF8=1 cd /d "%~dp0" set "PY=" if exist "%~dp0runtime\python.exe" set "PY=%~dp0runtime\python.exe" if not defined PY if exist "%~dp0.venv\Scripts\python.exe" set "PY=%~dp0.venv\Scripts\python.exe" if not defined PY ( echo Run START_HERE.cmd or INSTALL.cmd first. exit /b 1 ) if exist "%~dp0app\quickstart.py" ( "%PY%" "%~dp0app\quickstart.py" ) else ( "%PY%" -m hth_sdk demo ) exit /b %ERRORLEVEL%