-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
49 lines (42 loc) · 1.09 KB
/
install.bat
File metadata and controls
49 lines (42 loc) · 1.09 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
44
45
46
47
48
49
@echo off
title SoundX Router Installer
color 0b
echo ==========================================
echo SoundX Router Installer
echo ==========================================
echo.
:: Python Check
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Python not found!
echo Please install Python 3.10 or higher and ensure it is added to PATH.
echo Download Link: https://www.python.org/downloads/
pause
exit /b
)
echo [INFO] Python detected.
echo.
:: requirements.txt Check
if not exist requirements.txt (
echo [ERROR] requirements.txt not found!
echo Please ensure the file exists in this directory.
pause
exit /b
)
:: Installing Libraries
echo [INFO] Installing required libraries...
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo [ERROR] An error occurred during installation.
pause
exit /b
)
echo.
echo ==========================================
echo [SUCCESS] Installation complete!
echo ==========================================
echo.
echo You can start the application using the following command:
echo python app.py
echo.
pause