parent
598dea32c7
commit
223155b842
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ function DownloadFile ($Path, $Name, $Url) {
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host (" ERROR: Failed to download file." ) -ForegroundColor "Red"
|
Write-Host (" ERROR: Failed to download file." ) -ForegroundColor "Red"
|
||||||
$DownloadErrors += 1
|
$global:DownloadErrors += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function FindDynamicUrl ($SourcePage, $RegEx) {
|
function FindDynamicUrl ($SourcePage, $RegEx) {
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ function DownloadFile ($Path, $Name, $Url) {
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host (" ERROR: Failed to download file." ) -ForegroundColor "Red"
|
Write-Host (" ERROR: Failed to download file." ) -ForegroundColor "Red"
|
||||||
$DownloadErrors += 1
|
$global:DownloadErrors += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function FindDynamicUrl ($SourcePage, $RegEx) {
|
function FindDynamicUrl ($SourcePage, $RegEx) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue