Skip to content

Commit 96c35fb

Browse files
committed
refactor: remove Flask dependency check from start script
1 parent f84345d commit 96c35fb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vulnTestServer/start.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ if %errorlevel% neq 0 (
3131
for /f "tokens=2" %%i in ('python --version 2^>^&1') do set PYTHON_VERSION=%%i
3232
echo [信息] 检测到 Python %PYTHON_VERSION%
3333

34-
:: 检查依赖
35-
python -c "import flask" >nul 2>&1
36-
if %errorlevel% neq 0 (
37-
echo [信息] 正在安装 Flask 依赖...
38-
pip install flask -q
39-
)
40-
4134
:: 启动服务器
4235
echo.
4336
echo [信息] 正在启动 VulnShop 靶场服务...

0 commit comments

Comments
 (0)