-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
44 lines (39 loc) · 1.08 KB
/
start.bat
File metadata and controls
44 lines (39 loc) · 1.08 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
@echo off
SETLOCAL EnableDelayedExpansion
title Ear Web Bridge - Launcher
:: Color definition (Light Red on Black)
color 0C
:HEADER
echo.
echo ==========================================================
echo = =
echo = EAR WEB BRIDGE FIX =
echo = Advanced Bluetooth Bridge =
echo = =
echo ==========================================================
echo.
:CHECK_PYTHON
echo [*] Checking environment...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo.
echo [!] ERROR: Python is not installed or not in PATH.
echo Please install Python 3.10+ and check "Add to PATH".
echo.
echo Download: https://www.python.org/
echo.
pause
exit /b
)
echo [+] Python found!
echo.
:START_BRIDGE
echo [*] Starting Bridge...
echo.
:: Run directly in the same window
python bridge.py
:: If bridge.py exits, the script continues here
echo.
echo [-] Bridge closed.
timeout /t 2 >nul
exit