Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Marconi committed Apr 1, 2021
1 parent f7a76a8 commit b02b61a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@ static string ReadAppxManifestFromZip(Stream stream)
return manifestStream.ReadToEnd();
}
}
else if (entry.Name.EndsWith(".appx", StringComparison.OrdinalIgnoreCase))
{
using (var appxStream = entry.Open())
{
return ReadAppxManifestFromZip(appxStream);
}
}
else if (entry.Name.EndsWith(".msix", StringComparison.OrdinalIgnoreCase))
else if (entry.Name.EndsWith(".appx", StringComparison.OrdinalIgnoreCase) || entry.Name.EndsWith(".msix", StringComparison.OrdinalIgnoreCase))
{
using (var appxStream = entry.Open())
{
Expand Down

0 comments on commit b02b61a

Please # to comment.