-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
43 lines (36 loc) · 1.19 KB
/
setup.bat
File metadata and controls
43 lines (36 loc) · 1.19 KB
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
43
@echo off
REM ════════════════════════════════════════════════════════
REM RAGStack — Windows one-click setup
REM Double-click this file to install RAGStack.
REM ════════════════════════════════════════════════════════
title RAGStack Setup
echo.
echo RAGStack Setup
echo ══════════════════════════════════════════════
echo.
REM Use py launcher if available, fall back to python
where py >nul 2>&1
if %errorlevel% == 0 (
set PYTHON=py
) else (
where python >nul 2>&1
if %errorlevel% == 0 (
set PYTHON=python
) else (
echo ERROR: Python not found. Install Python 3.10+ from https://python.org
pause
exit /b 1
)
)
echo Using: %PYTHON%
echo.
%PYTHON% install.py %*
if %errorlevel% neq 0 (
echo.
echo Setup encountered an error. See message above.
pause
exit /b %errorlevel%
)
echo.
echo Press any key to close...
pause >nul