helm / community

Helm community content
https://helm.sh
421 stars 179 forks source link

WinGet package adds wrong directory to PATH #308

Closed RockyMM closed 9 months ago

RockyMM commented 1 year ago

Hi all,

Not sure who's maintaining the WinGet package. However, there is one little problem with the package. When installing Helm on Windows with

winget install --id Helm.Helm  --source winget --verbose

what happens is that directory C:\Users\mar2sf\AppData\Local\Microsoft\WinGet\Packages\Helm.Helm_Microsoft.Winget.Source_8wekyb3d8bbwe is added to PATH user environment. This is wrong as this directory is empty. The correct directory should be C:\Users\mar2sf\AppData\Local\Microsoft\WinGet\Packages\Helm.Helm_Microsoft.Winget.Source_8wekyb3d8bbwe\windows-amd64.

So what happens is that why I type helm in PowerShell nothing happens. After adding windows-amd64 now helm is working.

gjenkins8 commented 10 months ago

Issues regarding Helm usage are best posted over on the helm software repo https://github.com/helm/helm. Please repost there. Thanks!

RockyMM commented 9 months ago

So sorry @gjenkins8 I misread the notification and thought I was in a different repo. At this point, I think the issue should also be reposted to https://github.com/microsoft/winget-pkgs/.

RockyMM commented 9 months ago

So I checked in https://github.com/microsoft/winget-pkgs/ and the issue already existed https://github.com/microsoft/winget-pkgs/issues/96973 and it's already solved 😅