[GH-ISSUE #328] The PATH set by the winget package and the binary location don't match #145

Closed
opened 2026-06-08 11:25:52 +03:00 by zhus · 1 comment
Owner

Originally created by @cafce25 on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/bootandy/dust/issues/328

The winget package for dust installs the binary into %LocalAppData%\Microsoft\WinGet\Packages\bootandy.dust_Microsoft.Winget.Source_8wekyb3d8bbwe\dust-v0.8.6-x86_64-pc-windows-gnu which is fine, but it then proceeds to add only %LocalAppData%\Microsoft\WinGet\Packages\bootandy.dust_Microsoft.Winget.Source_8wekyb3d8bbwe to the $PATH so after installation and restarting the shell, dust is not available on the command line.

One possible resolution to this would be to have the executable directly in the zip file, without the sub directory, which is why I bring this up here. Other solutions might be to change the actual winget package, but I don't know if that's even possible.

I'm not entirely sure this Issue shouldn't be on the winget-pkgs repository instead, but since winget is listed on the list of package managers it might as well be here, let me know if I should open it there instead.

Originally created by @cafce25 on GitHub (Jun 20, 2023). Original GitHub issue: https://github.com/bootandy/dust/issues/328 The [winget package for dust](https://github.com/microsoft/winget-pkgs/tree/2db6d25249f5b97a9d963d4ef810889ee99d7de6/manifests/b/bootandy/dust) installs the binary into `%LocalAppData%\Microsoft\WinGet\Packages\bootandy.dust_Microsoft.Winget.Source_8wekyb3d8bbwe\dust-v0.8.6-x86_64-pc-windows-gnu` which is fine, but it then proceeds to add only `%LocalAppData%\Microsoft\WinGet\Packages\bootandy.dust_Microsoft.Winget.Source_8wekyb3d8bbwe` to the `$PATH` so after installation and restarting the shell, `dust` is not available on the command line. One possible resolution to this would be to have the executable directly in the zip file, without the sub directory, which is why I bring this up here. Other solutions might be to change the actual `winget` package, but I don't know if that's even possible. I'm not entirely sure this Issue shouldn't be on the `winget-pkgs` repository instead, but since `winget` is listed on the list of package managers it might as well be here, let me know if I should open it there instead.
zhus closed this issue 2026-06-08 11:25:52 +03:00
Author
Owner

@bootandy commented on GitHub (Jul 13, 2023):

I think that will be an issue with winget-pkgs, please open the issue with them . Thanks.

<!-- gh-comment-id:1633699876 --> @bootandy commented on GitHub (Jul 13, 2023): I think that will be an issue with `winget-pkgs`, please open the issue with them . Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#145