J.A.R.V.I.S-py/run.bat
Bossiara13 69359ed5c0 feat: "Python edition" startup banner + one-click run.bat launcher
main.py: prints a 3-line banner at startup with name, version, edition
label ("Python edition") and the command count from the loaded YAML.
Makes the console window self-identifying when both python and rust
forks run simultaneously.

run.bat at repo root: cd /d into repo, sets the cmd title to
"J.A.R.V.I.S. (Python edition)", picks the venv interpreter at
.venv\Scripts\python.exe if present (falls back to system python),
runs main.py, then pauses at exit so the user can read any traceback
instead of the console window vanishing on crash.

Desktop shortcut "Jarvis (Python).lnk" points at this batch file
with the project icon (the rust fork's icon.ico, since python has
no .ico of its own).
2026-05-15 12:12:21 +03:00

13 lines
235 B
Batchfile

@echo off
cd /d "%~dp0"
title J.A.R.V.I.S. (Python edition)
if exist ".venv\Scripts\python.exe" (
".venv\Scripts\python.exe" main.py
) else (
python main.py
)
echo.
echo --- jarvis exited, press a key to close ---
pause >nul