diff --git a/automatic/alldup/update.ps1 b/automatic/alldup/update.ps1 index 9ca887696da..36a41f1c10f 100644 --- a/automatic/alldup/update.ps1 +++ b/automatic/alldup/update.ps1 @@ -19,7 +19,7 @@ function global:au_GetLatest { $re = 'alldup.*\.exe$' $url = $download_page.links | Where-Object href -match $re | Select-Object -First 1 -expand href - $version = $download_page.links | Where-Object href -match "alldup_version\.php$" | Select-Object -first 1 -expand innerText + $version = ($download_page.links | Where-Object href -match "alldup_version\.php$" | Select-Object -first 1).outerHTML -replace '<[^>]*>' @{ URL32 = $url; Version = $version } }