26 lines
586 B
Batchfile
26 lines
586 B
Batchfile
@echo off
|
|
echo FLUX.1 Edit MCP Server - Quick Start
|
|
echo ====================================
|
|
|
|
echo Checking dependencies first...
|
|
REM Set UTF-8 encoding to prevent Unicode errors
|
|
chcp 65001 >nul 2>&1
|
|
set PYTHONIOENCODING=utf-8
|
|
set PYTHONUTF8=1
|
|
python check_dependencies.py
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo Dependencies check failed. Running installation...
|
|
call install_dependencies.bat
|
|
if errorlevel 1 (
|
|
echo Failed to install dependencies.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
)
|
|
|
|
echo.
|
|
echo Dependencies OK! Running original startup script...
|
|
echo.
|
|
call run.bat
|