forked from HKUDS/DeepCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
35 lines (29 loc) · 702 Bytes
/
run.bat
File metadata and controls
35 lines (29 loc) · 702 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
@echo off
REM DeepCode New UI - Windows Launcher
REM 深度代码新UI - Windows启动脚本
echo.
echo ========================================
echo DeepCode New UI - Windows Launcher
echo ========================================
echo.
REM Check Python
python --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Python not found. Please install Python 3.9+
pause
exit /b 1
)
REM Check Node.js
node --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Node.js not found. Please install Node.js 18+
echo Download from: https://nodejs.org/
pause
exit /b 1
)
echo [OK] Python found
echo [OK] Node.js found
echo.
REM Run the Python launcher
python "%~dp0deepcode.py"
pause