From ec04a5ed81692b528be4e342e6af6e77d0ac1c5e Mon Sep 17 00:00:00 2001 From: Elliot Chernofsky Date: Tue, 23 Apr 2024 12:00:36 -0400 Subject: [PATCH] Ignore Checksum for Signature Validated Files --- packages/regcool.vm/regcool.vm.nuspec | 2 +- packages/regcool.vm/tools/chocolateyinstall.ps1 | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/regcool.vm/regcool.vm.nuspec b/packages/regcool.vm/regcool.vm.nuspec index b0692cb21..3a6f3f272 100644 --- a/packages/regcool.vm/regcool.vm.nuspec +++ b/packages/regcool.vm/regcool.vm.nuspec @@ -2,7 +2,7 @@ regcool.vm - 0.0.0.20240411 + 0.0.0.20240423 Kurt Zimmermann 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 diff --git a/packages/regcool.vm/tools/chocolateyinstall.ps1 b/packages/regcool.vm/tools/chocolateyinstall.ps1 index 210c23a50..e3358abbf 100644 --- a/packages/regcool.vm/tools/chocolateyinstall.ps1 +++ b/packages/regcool.vm/tools/chocolateyinstall.ps1 @@ -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