Skip to content

Commit

Permalink
AU: 1 updated - alldup
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 4, 2023
1 parent e30766e commit 7d6c98b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion automatic/alldup/alldup.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>alldup</id>
<version>4.5.46</version>
<version>4.5.48</version>
<title>AllDup</title>
<owners>chocolatey-community</owners>
<authors>Michael Thummerer Software Design</authors>
Expand Down
2 changes: 1 addition & 1 deletion automatic/alldup/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Package can be verified like this:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: 60F57C5B388D09E5335147589F3CB3A5AEC88A7BE2B3E5E330F13DE588F91F83
checksum32: 3E825F7C0E7381CC8E4FA7BE1D87A9DBAEAA64E0C1B1B73C4D5DA2867C365FF1

File 'Redistribution.pdf' is from personal email communication
6 changes: 3 additions & 3 deletions automatic/alldup/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
import-module au

$releases = 'http://www.alldup.de/en_download_alldup.php'

Expand All @@ -18,8 +18,8 @@ function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases

$re = 'alldup.*\.exe$'
$url = $download_page.links | ? href -match $re | select -First 1 -expand href
$version = $download_page.links | ? href -match "alldup_version\.php$" | select -first 1 -expand innerText
$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

@{ URL32 = $url; Version = $version }
}
Expand Down

0 comments on commit 7d6c98b

Please sign in to comment.