sign all at once

This commit is contained in:
Akash Mozumdar 2020-03-17 22:09:20 -06:00
parent e4d9b70040
commit 402b685820

View File

@ -51,12 +51,13 @@ foreach ($language in @{
"Thread Linker.dll" "Thread Linker.dll"
)) ))
{ {
&"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /v /t "http://timestamp.digicert.com" /fd SHA256 "Release_$arch/$file";
copy -Force -Recurse -Verbose -Destination "$folder/$arch" -Path "Release_$arch/$file"; copy -Force -Recurse -Verbose -Destination "$folder/$arch" -Path "Release_$arch/$file";
} }
} }
} }
&"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /v /t "http://timestamp.digicert.com" /fd SHA256 @(dir "Textractor-*-$version\**\*");
rm -Force -Recurse -Verbose "Runtime"; rm -Force -Recurse -Verbose "Runtime";
mkdir -Force -Verbose "Runtime"; mkdir -Force -Verbose "Runtime";
foreach ($arch in @("x86", "x64")) foreach ($arch in @("x86", "x64"))