Skip to content

Commit

Permalink
AU: 1 updated - PDFCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jan 3, 2024
1 parent a412831 commit 2a5c229
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion automatic/pdfcreator/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ and can be verified by doing the following:
3. The checksums should match the following:

checksum type: sha256
checksum: D5AC239F81E2A19C10B67793F3974C61FAD1207B931901447BC4DF68675A0A3B
checksum: 055F227FACD235F2D552027DDB73CEDAC92ED76104B6F1411F2192A2CB507907

The file 'LICENSE.txt' has been obtained from <https://github.com/pdfforge/PDFCreator/blob/dbbe3558157f5861bff35dcb37b328b679b0ccfd/LICENSE>
2 changes: 1 addition & 1 deletion automatic/pdfcreator/pdfcreator.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<!-- == PACKAGE SPECIFIC SECTION == -->
<id>PDFCreator</id>
<version>5.1.1</version>
<version>5.2.0</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/pdfcreator</packageSourceUrl>
<owners>chocolatey-community</owners>
<!-- == SOFTWARE SPECIFIC SECTION == -->
Expand Down
2 changes: 1 addition & 1 deletion automatic/pdfcreator/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsPath\PDFCreator-5_1_1-Setup.exe.exe"
file = "$toolsPath\PDFCreator-5_2_0-Setup.exe.exe"
softwareName = 'PDFCreator'
silentArgs = $installArgs
validExitCodes = @(0)
Expand Down
8 changes: 4 additions & 4 deletions automatic/pdfcreator/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$download_page = Invoke-WebRequest $releases -UseBasicParsing
$re = "\.exe$"
$url = $download_page.Links | ? href -match $re | select -Expand href -First 1
$domain = $releases -split '(?<=//.+)/' | select -First 1
$version = $url -split '/' | select -Last 1 -Skip 1
$url = $download_page.Links | Where-Object href -match $re | Select-Object -Expand href -First 1
$domain = $releases -split '(?<=//.+)/' | Select-Object -First 1
$version = $url -split '/' | Select-Object -Last 1 -Skip 1
@{
URL32 = "https://download.pdfforge.org/download/pdfcreator/PDFCreator-stable?download"
Version = $version
PackageName = $softwareName
FileName32 = $url -split 'file=' | select -Last 1
FileName32 = $url -split 'file=' | Select-Object -Last 1
FileType = 'exe'
}
}
Expand Down

0 comments on commit 2a5c229

Please sign in to comment.