Add chocolateyUseBuiltinCompression feature / environment variable / switch in Get-ChocolateyUnzip.ps1
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [x] I have verified this is the correct repository for opening this issue.
- [x] I have verified no other issues exist related to my request.
### Is Your Feature Request Related To A Problem? Please describe.
company was blocking the embedded 7zip in tools because it was outdated, this will be fixed with 2.5 via #3626 but in meantime i'm blocked from simple workarounds (i can hack overwrite the embedded exe easy enough...).
### Describe The Solution. Why is it needed?
if Get-ChocolateyUnzip.ps1 supported chocolateyUseWindowsCompression either via environment variable or switch as an alternative to using embedded 7zip i'd be on a better path.
### Additional Context
_No response_
### Related Issues
#3626
Contributor guide
Research direction
Start with Get-ChocolateyUnzip.ps1 and read related issue #3626 to understand the expected compression behavior. Trace how the script currently selects embedded 7zip, then verify that the requested switch or environment variable selects Windows compression and that the existing path remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100