diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get.ps1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index f81863994..7774e685a 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -49,6 +49,7 @@ try{ } Write-Host "Start downloading https://github.com/xmake-io/xmake/releases/download/$version/xmake-$branch.exe .." try{ + [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" Invoke-Webrequest "https://github.com/xmake-io/xmake/releases/download/$version/xmake-$branch.exe" -OutFile "$outfile" }catch{ writeErrorTip 'Download failed!' |
