Fix Windows hands launch and clarify face-wiring troubleshooting
start.bat: the py-vs-python check used a percent-style errorlevel inside a parenthesized block, which expands at parse time and tests a stale value. Machines without the py launcher got a flash-and-close hands window. Now uses the runtime if-errorlevel idiom. TROUBLESHOOTING: the idle-face entry now names both sides of the wire (bus_dir here, or signals_dir on the backtalk side) and states that config edits only take effect on restart.
This commit is contained in:
1 parent
4b09e09f8a
commit
ab176ba161
2 files changed
+8
-6
No files matched your search
@@ -32,11 +32,13 @@ if exist "ai-visualizer\" if not "%1"=="hands" (
|
||||
|
||||
if exist "barehands\" if not "%1"=="voice" (
|
||||
echo hands: starting
|
||||
rem if errorlevel reads the where result at run time. A percent-style
|
||||
rem check here would expand when this block is parsed and test a stale value.
|
||||
where py >nul 2>nul
|
||||
if %errorlevel%==0 (
|
||||
start "agent hands" cmd /c "cd barehands && py server.py"
|
||||
) else (
|
||||
if errorlevel 1 (
|
||||
start "agent hands" cmd /c "cd barehands && python server.py"
|
||||
) else (
|
||||
start "agent hands" cmd /c "cd barehands && py server.py"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user