[FileItem] Fix mimetype content lookup
[xbmc.git] / project / Win32BuildSetup / getdeploydependencies.bat
blob80e64f7da0372e376b7934dd9eefb52f4abb9fc5
1 @echo off
3 set DOWNLOAD_URL=https://aka.ms/vs/17/release/vc_redist.%TARGET_ARCHITECTURE%.exe
4 set DOWNLOAD_FOLDER=..\BuildDependencies\downloads\vcredist\2015-2022
5 set DOWNLOAD_FILE=vcredist_%TARGET_ARCHITECTURE%.exe
7 :: Following commands expect this script's parent directory to be the current directory, so make sure that's so
8 PUSHD %~dp0
10 if not exist %DOWNLOAD_FOLDER% mkdir %DOWNLOAD_FOLDER%
12 if not exist %DOWNLOAD_FOLDER%\%DOWNLOAD_FILE% (
13   echo Downloading vc143 redist...
14   curl --retry 5 --retry-all-errors --retry-connrefused --retry-delay 5 --location --output %DOWNLOAD_FOLDER%\%DOWNLOAD_FILE% %DOWNLOAD_URL%
16 :: Restore the previous current directory
17 POPD