sign the msix

This commit is contained in:
Kai Tao (from Dev Box)
2025-12-09 12:52:53 +08:00
parent b227b70d47
commit d3e2bca2ae

View File

@@ -7,7 +7,7 @@ Param(
) )
$DirPath = $targetDir; #this file is in pipeline, we need root. $DirPath = $targetDir; #this file is in pipeline, we need root.
$items = Get-ChildItem -Path $DirPath -File -Include *.exe, *.dll, *.ttf, PTCustomActions -Recurse -Force -ErrorAction SilentlyContinue $items = Get-ChildItem -Path $DirPath -File -Include *.exe, *.dll, *.ttf, *.msix, PTCustomActions -Recurse -Force -ErrorAction SilentlyContinue
$versionExceptions = @( $versionExceptions = @(
"AdaptiveCards.Templating.dll", "AdaptiveCards.Templating.dll",
"Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll", "Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll",
@@ -52,7 +52,8 @@ $nullVersionExceptions = @(
"System.Diagnostics.EventLog.Messages.dll", "System.Diagnostics.EventLog.Messages.dll",
"Microsoft.Windows.Widgets.dll", "Microsoft.Windows.Widgets.dll",
"AdaptiveCards.ObjectModel.WinUI3.dll", "AdaptiveCards.ObjectModel.WinUI3.dll",
"AdaptiveCards.Rendering.WinUI3.dll") -join '|'; "AdaptiveCards.Rendering.WinUI3.dll",
".*\.msix") -join '|';
$totalFailure = 0; $totalFailure = 0;
Write-Host $DirPath; Write-Host $DirPath;