Skip to content

Commit

Permalink
Ignore case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetopia committed Jul 13, 2024
1 parent ecbd5d9 commit 356fe7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ internal static IList<UpdateIdentity> GetUpdates(Product product)
{
var element = (XmlElement)node.ParentNode.ParentNode.ParentNode;
var file = element.GetElementsByTagName("File")[0];
if (Path.GetExtension(file.Attributes["FileName"].InnerText).StartsWith(".e", StringComparison.Ordinal)) continue;
if (Path.GetExtension(file.Attributes["FileName"].InnerText).StartsWith(".e", StringComparison.OrdinalIgnoreCase)) continue;

var identity = file.Attributes["InstallerSpecificIdentifier"].InnerText.Split('_');
var neutral = identity[2] == "neutral";
Expand Down

0 comments on commit 356fe7f

Please sign in to comment.