-
Notifications
You must be signed in to change notification settings - Fork 141
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]: yt-dlp removed from PATH after updating it with WAU #542
Comments
Same problem with these packages (probably all portable packages are affected): Gyan.FFmpeg lycheeverse.lychee |
According to information provided by manufacturer of that product, winget should register command alias for the tool, not modify the path. That is seen in the log provided:
Even manufacturer suggested ~8 months ago to add it manually to $PATH According to evidence provided it works as designed. |
If you install without admin rights in user scope it will modify the PATH, if you install with admin rights in user scope it will create an alias. microsoft/winget-cli#4009 (comment)
This info is outdated. |
I see.. In this respect, there have been some attempts to improve winget in this regard Direct quote from authors:
Apparently some fix was added to solve the issue: microsoft/winget-cli#3002 Question remains open: if it is a "logic flaw" of winget itself, then how is that related to WAU? The only solution which comes to my mind is adding post-install action(s) to suplement the installation workflow with desired configuration. Update |
This issue is more about broken installers that do not modify path (like 7zip/7zip-zstd/vim/llvm/proxinject/etc) when they should.
It is related to WAU, it does not happen when I just use |
I retested this in vm again, and now it happens even without WAU, will report to winget repo then. |
The problem
After updating yt-dlp with WAU package path it's no longer present in PATH.
How to reproduce this bug in clean updated vm:
What version of WAU has the issue?
1.19.2-1
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 23H2
What version of winget are you using?
v1.7.3481-preview
Log information
Additional information
No response
The text was updated successfully, but these errors were encountered: