Skip to content

Commit

Permalink
Merge pull request #4250 from uklotzde/bitsadmin
Browse files Browse the repository at this point in the history
GitHub: Fix download of Windows build environment
  • Loading branch information
Holzhaus committed Aug 28, 2021
2 parents c8c0df4 + 0a0d664 commit e1408fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/windows_buildenv.bat
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ EXIT /B 0
SET BUILDENV_URL=https://downloads.mixxx.org/dependencies/2.3/Windows/!BUILDENV_NAME!.zip
IF NOT EXIST !BUILDENV_PATH!.zip (
ECHO ^Download prebuilt build environment from "!BUILDENV_URL!" to "!BUILDENV_PATH!.zip"...
BITSADMIN /transfer buildenvjob /download /priority normal !BUILDENV_URL! !BUILDENV_PATH!.zip
REM TODO: The /DYNAMIC parameter is required because our server does not yet support HTTP range headers
BITSADMIN /transfer buildenvjob /download /priority normal /DYNAMIC !BUILDENV_URL! !BUILDENV_PATH!.zip
REM TODO: verify download using sha256sum?
ECHO ^Download complete.
) else (
Expand Down

0 comments on commit e1408fa

Please sign in to comment.