From dd3e4b4b4962be7b2f57415984870ad67ae13ee3 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Thu, 23 Apr 2020 10:36:19 -0700 Subject: [PATCH] Set security protocol. --- Desktop.Win.Wrapper/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Desktop.Win.Wrapper/Install.ps1 b/Desktop.Win.Wrapper/Install.ps1 index 0b1ad865d..52cc8659f 100644 --- a/Desktop.Win.Wrapper/Install.ps1 +++ b/Desktop.Win.Wrapper/Install.ps1 @@ -1,3 +1,4 @@ +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 -bor [System.Net.SecurityProtocolType]::Tls13 [System.IO.Directory]::CreateDirectory("$env:AppData\Remotely") Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile "$env:AppData\Remotely\dotnet-install.ps1" &"$env:AppData\Remotely\dotnet-install.ps1" -Runtime dotnet