diff --git a/run.ps1 b/run.ps1 index 711ee77..cd4e850 100644 --- a/run.ps1 +++ b/run.ps1 @@ -481,12 +481,12 @@ function downloadSp() { if ($stcode.trim() -ne "200") { Write-Host "Curl error code: $stcode"; throw } - curl.exe -q $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke + curl.exe -q -k $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke return } if (!($curl_check ) -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable)) { $ProgressPreference = 'Continue' - Start-BitsTransfer -Source -k $web_Url -Destination $local_Url -DisplayName ($lang).Download5 -Description "$online " + Start-BitsTransfer -Source $web_Url -Destination $local_Url -DisplayName ($lang).Download5 -Description "$online " return } if (!($curl_check ) -and $null -eq (Get-Module -Name BitsTransfer -ListAvailable)) {