Files
flux1-edit/start.bat
2025-08-26 02:35:44 +09:00

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