Browse Source

Update Sign.ps1

pull/380/head
Dmitry Nefedov 2 years ago
committed by GitHub
parent
commit
704e33847e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Scripts/Sign.ps1

2
Scripts/Sign.ps1

@ -42,7 +42,7 @@ $codeCertificate = Get-ChildItem -Path Cert:\LocalMachine\My | Where-Object -Fil
# Adding a timestamp ensures that your code will not expire when the signing certificate expires
# -Include *.ps1, *.psm1, *.psd1 is obvious, but it's slow
Get-ChildItem -Path $FolderPath -Recurse -File | Where-Object -FilterScript {$_.Extension -in $ExtensionsToSearchIn}
(Get-ChildItem -Path $FolderPath -Recurse -File | Where-Object -FilterScript {$_.Extension -in $ExtensionsToSearchIn}).FullName
Get-ChildItem -Path $FolderPath -Recurse -File | Where-Object -FilterScript {$_.Extension -in $ExtensionsToSearchIn} | ForEach-Object -Process {
$Parameters = @{

Loading…
Cancel
Save