RetroShare/build_scripts/Windows-msys2/tools/download-file.bat
thunder2 617ed25a19 Modified Windows Build Environment
- Removed commandline switch "version"
- Added MinGit for determining version information during compile process
- Added sigcheck to determine version of the executable
2018-10-14 17:47:31 +02:00

14 lines
257 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%