-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Chocolatey package leaves old version shims #2173
Comments
Hey, thanks for raising the issue. Unfortunately I don't know what we need to change to avoid this behavior. I'm open to hear if there's a solution for this though. Disclaimer: I don't use a windows machine so I haven't experienced this, and have no idea how to even go about it. |
https://docs.chocolatey.org/en-us/features/shim should help. It seems that the installer is shimmed. Perhaps using |
@imolorhe actually, that's not the problem. Shims aren't documented too well IMO, but here's what happens:
Possible solutions:
|
@Destroy666x here's a PR to fix this. Let me know if this is enough to resolve the issue. |
Looks fine IIRC. |
Describe the bug
The Chocolatey package leaves old version shims in
C:\ProgramData\chocolatey\bin
To Reproduce
Steps to reproduce the behavior:
C:\ProgramData\chocolatey\bin
- multiple exes will be thereExpected behavior
Only one executable in that dir, preferably without version.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: