mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-17 21:24:45 +10:00
curl bug fix
- bug fix if curl configuration file existed #454 Co-Authored-By: bzzrak <77467869+bzzrak@users.noreply.github.com>
This commit is contained in:
@@ -407,7 +407,7 @@ function downloadSp() {
|
||||
if ($stcode -ne "200") {
|
||||
Write-Host "Curl error code: $stcode"; throw
|
||||
}
|
||||
curl.exe $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke
|
||||
curl.exe -q $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke
|
||||
return
|
||||
}
|
||||
if (!($curl_check ) -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable)) {
|
||||
@@ -435,7 +435,7 @@ function downloadSp() {
|
||||
if ($stcode -ne "200") {
|
||||
Write-Host "Curl error code: $stcode"; throw
|
||||
}
|
||||
curl.exe $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke
|
||||
curl.exe -q $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke
|
||||
return
|
||||
}
|
||||
if (!($curl_check ) -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable) -and !($curl_check )) {
|
||||
|
||||
Reference in New Issue
Block a user