Files
overcode/launch_overcode.bat

38 lines
917 B
Batchfile

@echo off
title OverCode Shell v2.0
echo ================================================
echo OverCode Shell - Launching...
echo ================================================
:: Change to script directory
cd /d "%~dp0"
:: Check if Python is available
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python is not installed or not in PATH!
echo Please install Python from https://python.org
pause
exit /b 1
)
:: Install dependencies if needed
if not exist "venv" (
echo Setting up virtual environment...
python -m venv venv
call venv\Scripts\activate.bat
pip install -r requirements.txt
) else (
call venv\Scripts\activate.bat
)
:: Launch OverCode Shell
echo Starting OverCode Shell...
python overshell.py
:: Keep window open if there's an error
if %errorlevel% neq 0 (
echo.
echo OverCode Shell exited with error code: %errorlevel%
pause
)