update sign dll

This commit is contained in:
Leilei Zhang
2025-09-26 17:43:32 +08:00
parent d2a8297214
commit 4f565aafd5
2 changed files with 4 additions and 5 deletions

View File

@@ -299,6 +299,9 @@
"msvcp140_1_app.dll",
"msvcp140_2_app.dll",
"msvcp140_app.dll",
"Namotion.Reflection.dll",
"NJsonSchema.Annotations.dll",
"NJsonSchema.dll",
"vcamp140_app.dll",
"vccorlib140_app.dll",
"vcomp140_app.dll",

View File

@@ -53,10 +53,6 @@ $nullVersionExceptions = @(
"Microsoft.Windows.Widgets.dll",
"AdaptiveCards.ObjectModel.WinUI3.dll",
"AdaptiveCards.Rendering.WinUI3.dll") -join '|';
$signatureExceptions = @(
"Namotion.Reflection.dll",
"NJsonSchema.Annotations.dll",
"NJsonSchema.dll") -join '|';
$totalFailure = 0;
Write-Host $DirPath;
@@ -90,7 +86,7 @@ $items | ForEach-Object {
}
else {
$auth = Get-AuthenticodeSignature $_.FullName
if ($auth.SignerCertificate -eq $null -and $_.Name -notmatch $signatureExceptions) {
if ($auth.SignerCertificate -eq $null) {
Write-Host "Not Signed: " + $_.FullName
$totalFailure++;
}