Skip to content

Commit

Permalink
Merge pull request #3551 from corbob/update-7zip
Browse files Browse the repository at this point in the history
(#3505) Update 7-zip binaries included with Chocolatey CLI
  • Loading branch information
gep13 authored Nov 7, 2024
2 parents e0c728d + 3dd4c8e commit 231b5f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/legal/CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- [Contributors](#contributors)
- [Third Party Licenses - Development](#third-party-licenses---development)
- [Third Party Licenses - Runtime](#third-party-licenses---runtime)
- [7-Zip @ 23.01](#7-zip--2301)
- [7-Zip @ 24.08](#7-zip--2408)
- [AlphaFS @ 2.1.3](#alphafs--213)
- [Checksum @ 0.3.1](#checksum--031)
- [log4net @ 2.0.12](#log4net--2012)
Expand Down Expand Up @@ -73,7 +73,7 @@ We would like to credit other super sweet tools/frameworks that aid in the devel
Chocolatey CLI (choco) uses a number of 3rd-party components.
Their details are below.

### 7-Zip @ 23.01
### 7-Zip @ 24.08

Chocolatey uses [7-Zip](http://www.7-zip.org/) for uncompressing archives.
[License terms](http://www.7-zip.org/license.txt):
Expand Down
Binary file modified src/chocolatey.resources/tools/7z.dll
Binary file not shown.
Binary file modified src/chocolatey.resources/tools/7z.exe
Binary file not shown.
10 changes: 5 additions & 5 deletions tests/pester-tests/BundledApplications.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Import-Module helpers/common-helpers

Describe 'Ensuring correct version of <Name> is installed' -Tag BundledApplications -ForEach @(
@{ Name = 'shimgen' ; Version = '2.0.0' ; ChocolateyVersion = '2.0.0-alpha' ; IsSigned = $true }
@{ Name = 'checksum' ; Version = '0.3.1' ; ChocolateyVersion = '2.0.0-alpha' ; IsSigned = $true }
@{ Name = '7z' ; Version = '23.01' ; ChocolateyVersion = '2.2.1-alpha' ; IsSigned = $false }
) -Skip:(-not (Test-ChocolateyVersionEqualOrHigherThan "1.0.0")) {
Context '<Name> is correctly installed' -Skip:(-not (Test-ChocolateyVersionEqualOrHigherThan $ChocolateyVersion)) {
@{ Name = 'shimgen' ; Version = '2.0.0' ; IsSigned = $true }
@{ Name = 'checksum' ; Version = '0.3.1' ; IsSigned = $true }
@{ Name = '7z' ; Version = '24.08' ; IsSigned = $false }
) {
Context '<Name> is correctly installed' {
BeforeAll {
# Because we're not modifying the install in any way, there is no need to Initialize-ChocolateyTestInstall
$ToolPath = "$env:ChocolateyInstall/tools/$Name.exe"
Expand Down

0 comments on commit 231b5f5

Please sign in to comment.