Created installation scripts for Windows and Unix to automatically set the ffmpeg PATH variables

This commit is contained in:
CrushedPixel
2015-07-01 15:27:20 +02:00
parent a189868390
commit dc2c199d0e
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
ECHO OFF
IF NOT EXIST bin\ffmpeg.exe (
CLS
ECHO bin\ffmpeg.exe could not be found.
GOTO:error
)
CD bin || GOTO:error
PROMPT $G
CLS
SETX PATH "%CD%;%PATH%"
ECHO.
ECHO Successfully set ffmpeg's PATH variable.
ECHO If you move this folder, make sure to run this script again.
ECHO.
PAUSE
GOTO:EOF
:error
ECHO.
ECHO Press any key to exit.
PAUSE >nul
GOTO:EOF