Skip to content

Commit

Permalink
Merge pull request #52 from vcsjones/misx-file-extensions
Browse files Browse the repository at this point in the history
Add support for MSIX file extensions
  • Loading branch information
vcsjones authored Sep 4, 2018
2 parents 97ba9cb + 6975e36 commit 4562008
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/AzureSign.Core/SipExtensionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ public static SipKind GetSipKind(ReadOnlySpan<char> filePath)
{
return SipKind.Appx;
}
if (extension.Equals(".msix", StringComparison.OrdinalIgnoreCase))
{
return SipKind.Appx;
}
if (extension.Equals(".emsix", StringComparison.OrdinalIgnoreCase))
{
return SipKind.Appx;
}
if (extension.Equals(".msixbundle", StringComparison.OrdinalIgnoreCase))
{
return SipKind.Appx;
}
if (extension.Equals(".emsixbundle", StringComparison.OrdinalIgnoreCase))
{
return SipKind.Appx;
}
return SipKind.None;
}
}
Expand Down

0 comments on commit 4562008

Please sign in to comment.