Skip to content

Commit

Permalink
Fix version wildcard (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto authored Apr 17, 2023
1 parent 784a3ab commit 42f3760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/code/ProgramsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ private void GetPackage(RegistryKey key, PackageRequest request)
request.WritePackage(package);
}
else if (!keyValues.ContainsKey("DisplayVersion")
&& request.Version is null
&& request.IsMatch(name))
&& request.IsMatch(name)
&& (request.Version is null || request.Version.ToString() == "*"))
{
package = new PackageInfo(name, null, source, comment, null, keyValues, ProviderInfo);
request.WritePackage(package);
Expand Down

0 comments on commit 42f3760

Please sign in to comment.