sign all files

This commit is contained in:
Akash Mozumdar 2020-03-16 02:51:45 -06:00
parent 39e81bb904
commit df3d3a0355

View File

@ -30,8 +30,6 @@ foreach ($language in @{
&"C:\Program Files\CMake\bin\cmake" -G "Visual Studio 16 2019" -A"$VS_arch" -DVERSION="$version" -DTEXT_LANGUAGE="$($language.Key)" -DCMAKE_BUILD_TYPE="Release" ../..; &"C:\Program Files\CMake\bin\cmake" -G "Visual Studio 16 2019" -A"$VS_arch" -DVERSION="$version" -DTEXT_LANGUAGE="$($language.Key)" -DCMAKE_BUILD_TYPE="Release" ../..;
&"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv" Textractor.sln /build "Release|$VS_arch"; &"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv" Textractor.sln /build "Release|$VS_arch";
cd ..; cd ..;
&"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /v /t "http://timestamp.digicert.com" /fd SHA256 "Release_$arch/Textractor.exe";
&"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /v /t "http://timestamp.digicert.com" /fd SHA256 "Release_$arch/TextractorCLI.exe";
mkdir -Force -Verbose "$folder/$arch"; mkdir -Force -Verbose "$folder/$arch";
foreach ($file in @( foreach ($file in @(
"Textractor.exe", "Textractor.exe",
@ -52,6 +50,7 @@ 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";
} }
} }