Heal the voice line's Python environment before launch on Windows

This commit is contained in:
jaredrhod committed 2026-08-19 15:35:41 -04:00
1 parent 0142376018
commit 2d2572dae7
1 file changed
+3
+3
View File
@@ -45,6 +45,9 @@ if exist "barehands\" if not "%1"=="voice" (
if exist "backtalk\" ( if exist "backtalk\" (
echo voice: starting in this window. Close it to hang up. echo voice: starting in this window. Close it to hang up.
cd backtalk cd backtalk
rem Self-repair: reconcile the voice line's packages before launch
rem (fast when current; heals a half-installed environment).
uv sync -q --inexact >nul 2>nul
uv run python -m backtalk.main uv run python -m backtalk.main
rem A clean goodbye exits 0 and the window may close. An error exits rem A clean goodbye exits 0 and the window may close. An error exits
rem nonzero, and the window HOLDS so the message can be read. rem nonzero, and the window HOLDS so the message can be read.