mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-19 13:50:04 +10:00
@@ -481,12 +481,12 @@ function downloadSp() {
|
|||||||
if ($stcode.trim() -ne "200") {
|
if ($stcode.trim() -ne "200") {
|
||||||
Write-Host "Curl error code: $stcode"; throw
|
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
|
return
|
||||||
}
|
}
|
||||||
if (!($curl_check ) -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable)) {
|
if (!($curl_check ) -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable)) {
|
||||||
$ProgressPreference = 'Continue'
|
$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
|
return
|
||||||
}
|
}
|
||||||
if (!($curl_check ) -and $null -eq (Get-Module -Name BitsTransfer -ListAvailable)) {
|
if (!($curl_check ) -and $null -eq (Get-Module -Name BitsTransfer -ListAvailable)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user