-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
31 lines (26 loc) · 902 Bytes
/
Copy pathsetup.bat
File metadata and controls
31 lines (26 loc) · 902 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
@echo off
echo ============================================
echo Supertonic Reader Setup
echo ============================================
cd /d "%~dp0"
if not exist .venv (
echo [1/4] Creating virtual environment...
python -m venv .venv
) else (
echo [1/4] Virtual environment already exists.
)
echo [2/4] Installing dependencies...
call .venv\Scripts\activate.bat
python -m pip install -r requirements.txt
echo [3/4] Registering auto-start...
python -c "import sys; sys.path.insert(0, 'src'); from supertonic_reader.autostart import enable; enable()"
echo [4/4] Launching for first-time setup...
python run.py
echo.
echo ============================================
echo Setup complete!
echo The app will start automatically on boot.
echo Press Ctrl+Alt anywhere to read aloud.
echo Right-click the tray icon for settings.
echo ============================================
pause