Skip to content

Commit c19d0a5

Browse files
committed
Add powershell command = 'SilentlyContinue' because apparently protobuf progress bar is causing 'access denied error' on windows console: crc-org/crc#1184
1 parent 612ba86 commit c19d0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildscripts/make_dependencies.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if not exist "%CMAKE_NAME%" (
2727
set PATH=%PATH%;%cd%\%CMAKE_NAME%\bin
2828
:hasCmake
2929
@rem GitHub requires TLSv1.2, and for whatever reason our powershell doesn't have it enabled
30-
powershell -command "$ErrorActionPreference = 'stop'; & { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; iwr https://github.com/google/protobuf/releases/download/v%PROTOBUF_VER%/protobuf-%PROTOBUF_VER%.zip -OutFile protobuf.zip }" || exit /b 1
30+
powershell -command "$ProgressPreference = 'SilentlyContinue'; $ErrorActionPreference = 'stop'; & { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; iwr https://github.com/google/protobuf/releases/download/v%PROTOBUF_VER%/protobuf-%PROTOBUF_VER%.zip -OutFile protobuf.zip }" || exit /b 1
3131
powershell -command "$ErrorActionPreference = 'stop'; & { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('protobuf.zip', '.') }" || exit /b 1
3232
del protobuf.zip
3333
powershell -command "$ErrorActionPreference = 'stop'; & { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; iwr https://github.com/abseil/abseil-cpp/archive/refs/tags/%ABSL_VERSION%.zip -OutFile absl.zip }" || exit /b 1

0 commit comments

Comments
 (0)