Skip to content

Commit

Permalink
Ignore Checksum for Signature Validated Files
Browse files Browse the repository at this point in the history
  • Loading branch information
emtuls committed Apr 23, 2024
1 parent 68f716d commit ec04a5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/regcool.vm/regcool.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>regcool.vm</id>
<version>0.0.0.20240411</version>
<version>0.0.0.20240423</version>
<authors>Kurt Zimmermann</authors>
<description>In addition to all the features that you can find in RegEdit and RegEdt32, RegCool adds many powerful features that allow you to work faster and more efficiently with registry related tasks</description>
<dependencies>
Expand Down
7 changes: 4 additions & 3 deletions packages/regcool.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ $toolName = 'RegCool'
$category = 'Registry'
$toolDir = Join-Path ${Env:RAW_TOOLS_DIR} $toolName

$zipUrl = 'https://kurtzimmermann.com/files/RegCoolX64.zip'

try {
# Ignore checksums due to single URL for package and updates, with no versioning; We perform signature validation instead.
$env:ChocolateyIgnoreChecksums = $true

# Download zip
$packageArgs = @{
packageName = $env:ChocolateyPackageName
file = Join-Path ${Env:TEMP} $toolName
url = $zipUrl
url = 'https://kurtzimmermann.com/files/RegCoolX64.zip'
}
$filePath = Get-ChocolateyWebFile @packageArgs

Expand Down

0 comments on commit ec04a5e

Please sign in to comment.