Skip to content

Commit

Permalink
AU: 1 updated - clipgrab
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jan 27, 2024
1 parent 98519d8 commit b7ea5ae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion automatic/clipgrab/clipgrab.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>clipgrab</id>
<version>3.9.7</version>
<version>3.9.8</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/clipgrab</packageSourceUrl>
<owners>chocolatey-community</owners>
<title>Clipgrab</title>
Expand Down
4 changes: 2 additions & 2 deletions automatic/clipgrab/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ The embedded software have been downloaded from the listed download
location on <https://clipgrab.org/>
and can be verified by doing the following:

1. Download the following <https://download.clipgrab.org/clipgrab-3.9.7-portable.exe>
1. Download the following <https://download.clipgrab.org/clipgrab-3.9.8-portable.exe>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum: 0AE8656F4C65673D75544CFF54721CBFC586EDD6E8B4B2A2070930684920411E
checksum: 658DD5BE8F15F5C5E42666E6FA109BFC7835B63BCCE3F801A7219DF261CECE88

The file 'LICENSE.txt' has been obtained from the source tarball located
on their project page.
2 changes: 1 addition & 1 deletion automatic/clipgrab/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsPath\clipgrab-3.9.7-portable.exe"
file = "$toolsPath\clipgrab-3.9.8-portable.exe"
softwareName = 'ClipGrab*'
silentArgs = "/VERYSILENT /NORESTART /SUPPRESSMSGBOXES /SP- /LOG=`"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).InnoInstall.log`""
validExitCodes = @(0)
Expand Down
4 changes: 2 additions & 2 deletions automatic/clipgrab/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$re = 'portable\.exe$'
$url = $download_page.Links | ? href -match $re | select -first 1 -expand href
$url = $download_page.Links | Where-Object href -match $re | Select-Object -first 1 -expand href

$verRe = '[-]|\.exe$'
$version = $url -split "$verRe" | select -last 1 -skip 2
$version = $url -split "$verRe" | Select-Object -last 1 -skip 2
@{
URL32 = $url
Version = Get-Version $version
Expand Down

0 comments on commit b7ea5ae

Please sign in to comment.