revert to simple per-user flow: drop kit logic from starters (ollama = installed tray app, LT+checker only)

This commit is contained in:
Sadmin committed 2026-11-05 17:54:50 +03:00
1 parent c6a03f505b
commit d1a12d7682
5 files changed
+6 -127

No files matched your search

+4 -12
View File
@@ -1,21 +1,13 @@
@echo off
REM docchecker service: kit (shift mode) or regular venv (one-user mode)
REM docchecker service + browser page: 127.0.0.1:8011 (no kit logic, per-user venv)
cd /d %~dp0
set "SRV=%~dp0"
if not exist "%SRV%static" set "SRV=%~dp0.."
cd /d "%SRV%"
set "KIT=%~dp0..\..\kit"
set "PYEXE="
if exist "%KIT%\Python312\python.exe" (
set "PYEXE=%KIT%\Python312\python.exe"
set "PYTHONPATH=%KIT%\site"
)
if not defined PYEXE set "PYEXE=%~dp0venv\Scripts\python.exe"
set "PYEXE=%~dp0venv\Scripts\python.exe"
if not exist "%PYEXE%" (
echo Python not found: run install.bat from delivery first
echo ^(or setup_online.bat on a computer with internet^)
echo If venv was copied from another computer - delete the venv folder
echo and recreate it with install.bat
echo ^(venv is created by install.bat on this very computer^)
pause
exit /b 1
)
@@ -29,7 +21,7 @@ for /l %%i in (1,1,6) do (
if not defined OK timeout /t 2 /nobreak >nul
)
if not defined OK (
echo Служба не поднялась за 12 сек — смотри окно docchecker, там причина
echo Service did not start in 12 s - see the docchecker window for the reason
pause
exit /b 1
)