Skip to content

Commit

Permalink
fix: update version extraction method in alldup update script
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoss2k committed Dec 17, 2024
1 parent d5d5b88 commit cd65a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/alldup/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down

0 comments on commit cd65a99

Please sign in to comment.