Skip to content

Commit

Permalink
Set security protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 23, 2020
1 parent 51ea641 commit dd3e4b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Desktop.Win.Wrapper/Install.ps1
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit dd3e4b4

Please sign in to comment.