-
Notifications
You must be signed in to change notification settings - Fork 6
Labels
Issue-FeatureThis is a feature requestThis is a feature request
Description
Feedback returns false positives due to the feedback provider searching via package name. It really should only use the WinGet command search and maybe moniker. In the current form your users not trust your results due to the lenient searching.
winget-command-not-found/src/WinGetCommandNotFoundFeedbackPredictor.cs
Lines 178 to 191 in 9bc8361
| // 2) No matches found, | |
| // search by name | |
| ps.Commands.Clear(); | |
| pkgList = ps.AddCommand("Find-WinGetPackage") | |
| .AddParameter("Name", query) | |
| .AddParameter("MatchOption", "ContainsCaseInsensitive") | |
| .AddParameters(common) | |
| .Invoke(); | |
| if (pkgList.Count > 0) | |
| { | |
| tooManySuggestions = pkgList.Count > _maxSuggestions; | |
| packageMatchFilterField = "name"; | |
| return pkgList; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-FeatureThis is a feature requestThis is a feature request