-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support validation for multiple aliases in a single portable executable #2884
Comments
This scenario seems a bit strange to me. Why are multiple aliases needed for a single executable when one alias could do the job? Could you give me more context on your scenario or your specific package? Is this a "special" case or is this a more common scenario that we had overlooked when implementing the validation. We don't want to open up floodgates and allow a bunch of symlinks/aliases to be generated for only a single executable if it is not absolutely necessary. |
Some CLI apps have a shorter alias that users can use for convenience.
Of course, you shouldn't when it's not necessary 🙂 |
It sounds more like a new feature then. Are there any other examples like this? A few more "real world" examples will help justify the work. It's hard to justify for one package given all the other open Issues. I'd also want a few more 👍on the issue 😊 |
[Policy] Portable |
Another package that uses multiple aliases microsoft/winget-pkgs#131849 |
Brief description of your issue
winget validate
fails locally for nested portable executables with multiple aliases. Some applications expect multiple aliases from one command, which is why this is important.Related to #2523 (comment):
Perhaps this was overlooked.
Steps to reproduce
Fly-io.flyctl
manifest locally withwinget validate
Installation works as intended however, creating
fly
andflyctl
aliases forflyctl.exe
.Expected behavior
Validation should succeed
Actual behavior
Validation is failing.
Environment
The text was updated successfully, but these errors were encountered: