make curl show errors and fail

This commit is contained in:
Spirit 👾 2024-08-19 21:06:19 -07:00 committed by GitHub
parent 3d47dc1fb7
commit 4ead542959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
echo downloading wsl_update_x64...
curl.exe -Ls --remote-name --remove-on-error https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
curl.exe -LSfs --remote-name --remove-on-error https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
wsl_update_x64.msi
del "wsl_update_x64.msi"