Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
|
@ -0,0 +1,17 @@
|
|||
rem bDOWNLOAD bAUTO URL FILE HASH SIZE
|
||||
echo URL %3
|
||||
if "%1" == "yes" (
|
||||
if "%2" == "xauto" (
|
||||
echo Check %3 ...
|
||||
if exist "%~4" (
|
||||
powershell -ExecutionPolicy Unrestricted .\build\scriptlib\Verify-File.ps1 -hashvalue %5 -filesize %6 -filename %4 || del /Q "%4"
|
||||
)
|
||||
)
|
||||
if not exist "%~4" (
|
||||
echo Download %3 ...
|
||||
powershell -Command "(New-Object Net.WebClient).DownloadFile('%~3', '%~4')" || exit /B 1
|
||||
)
|
||||
)
|
||||
echo Verify %4 ...
|
||||
powershell -ExecutionPolicy Unrestricted .\build\scriptlib\Verify-File.ps1 -hashvalue %5 -filesize %6 -filename %4 || exit /B 1
|
||||
exit /B 0
|
Loading…
Add table
Add a link
Reference in a new issue