RetroShare/build_scripts/Windows/tools/download-file.bat
thunder2 5953e7bbe8 Windows build environment
- Added "-spec win32-g++" to build.bat
- Added "--no-check-certificate" to download-file.bat
- Fixed build installer
2018-06-08 17:01:28 +02:00

14 lines
244 B
Batchfile

:: Usage:
:: call download-file.bat url file
if "%~2"=="" (
echo.
echo Parameter error.
exit /B 1
)
::"%EnvCurlExe%" -L -k "%~1" -o "%~2"
"%EnvWgetExe%" --no-check-certificate --continue "%~1" --output-document="%~2"
exit /B %ERRORLEVEL%