mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-16 11:47:48 +01:00
Add optional FFmpeg installation step in install.bat, providing warnings for failure or absence of the script.
This commit is contained in:
16
install.bat
16
install.bat
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user