Merge pull request #23092 from webosbrew/feature/webOS
[xbmc.git] / project / Win32BuildSetup / getdeploydependencies.bat
blobbd66ce14bbf9dc6f5d409877061b74c6956a1984
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   ..\BuildDependencies\bin\wget --tries=5 --retry-connrefused --waitretry=2 -nv -O %DOWNLOAD_FOLDER%\%DOWNLOAD_FILE% %DOWNLOAD_URL%
16 :: Restore the previous current directory
17 POPD