From d591150705de71bb252d5039fe9003e882457d09 Mon Sep 17 00:00:00 2001 From: xarkes Date: Sat, 24 Feb 2018 14:59:49 +0100 Subject: [PATCH] Fix AppVeyor (prepare_r2 TLS) --- prepare_r2.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare_r2.bat b/prepare_r2.bat index 1e9f38e1..2048a8b9 100644 --- a/prepare_r2.bat +++ b/prepare_r2.bat @@ -25,7 +25,7 @@ ECHO Downloading meson and ninja python -m pip install meson IF !ERRORLEVEL! NEQ 0 EXIT /B 1 IF NOT EXIST ninja.exe ( - powershell -Command wget %NINJA_URL% -OutFile ninja.zip && powershell -Command Expand-Archive .\ninja.zip -DestinationPath .\ && DEL ninja.zip + powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget %NINJA_URL% -OutFile ninja.zip" && powershell -Command Expand-Archive .\ninja.zip -DestinationPath .\ && DEL ninja.zip IF !ERRORLEVEL! NEQ 0 EXIT /B 1 )