Add optional FFmpeg installation step in install.bat, providing warnings for failure or absence of the script.

This commit is contained in:
vegu-ai-tools
2025-12-05 17:15:16 +02:00
parent 868dd924d1
commit 735cdfee51

View File

@@ -218,6 +218,22 @@ CALL npm run build || CALL :die "Frontend build failed."
REM Return to repo root
CD ..
REM ---------[ FFmpeg installation (optional) ]---------
ECHO.
ECHO Attempting to install FFmpeg...
IF EXIST "install-ffmpeg.bat" (
CALL install-ffmpeg.bat
IF %ERRORLEVEL% NEQ 0 (
ECHO.
ECHO [WARNING] FFmpeg installation failed or was skipped.
ECHO Some TTS features may not work without FFmpeg.
ECHO You can run install-ffmpeg.bat manually later to install it.
ECHO.
)
) ELSE (
ECHO [WARNING] install-ffmpeg.bat not found. Skipping FFmpeg installation.
)
ECHO.
ECHO ==============================
ECHO Installation completed!