mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-12 01:14:29 -05:00
8c7920b545
- Fixed deploy path with tor - Disabled webui in installer - Optimized file get-gcc-version.bat - Optimized file get-qt-version.bat - Renamed file msys-path.bat to msys2-path.bat - Removed file download-file-wildcard.bat - Removed file winhttpjs.bat - Removed download and usage of wget.exe
13 lines
247 B
Batchfile
13 lines
247 B
Batchfile
:: Usage:
|
|
:: call download-file.bat url file
|
|
|
|
if "%~2"=="" (
|
|
echo.
|
|
echo Parameter error.
|
|
exit /B 1
|
|
)
|
|
|
|
powershell -NoLogo -NoProfile -Command (New-Object System.Net.WebClient).DownloadFile(\""%~1\"", \""%~2\"")
|
|
|
|
exit /B %ERRORLEVEL%
|