-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun.bat
More file actions
42 lines (35 loc) · 869 Bytes
/
run.bat
File metadata and controls
42 lines (35 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
title Handle Scout
echo.
echo 🔎 Starting Handle Scout...
echo.
:: Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo ❌ Python is not installed.
echo.
echo Please download Python from: https://python.org/downloads
echo Make sure to check "Add Python to PATH" during installation!
echo.
pause
exit /b 1
)
:: Create virtual environment if needed
if not exist .venv\Scripts\python.exe (
echo 📦 Creating virtual environment...
python -m venv .venv
echo.
)
set PYTHON=.venv\Scripts\python.exe
:: Install dependencies if needed
%PYTHON% -c "import colorama" >nul 2>&1
if errorlevel 1 (
echo 📦 Installing dependencies...
%PYTHON% -m pip install -r requirements.txt
echo.
)
echo ✅ Starting terminal app
echo Press Ctrl+C to stop
echo.
%PYTHON% cli.py
pause