diff --git a/LiamWorkflowDiagnostics/SignSourceFiles.cmd b/LiamWorkflowDiagnostics/SignSourceFiles.cmd new file mode 100644 index 0000000..34e5c7a --- /dev/null +++ b/LiamWorkflowDiagnostics/SignSourceFiles.cmd @@ -0,0 +1,29 @@ +@echo off +setlocal EnableDelayedExpansion + +set "ProductName=C4IT Light Identity Access Management" +set "SignTool=..\..\Common Code\Tools\signtool.exe" +set "TimeStamp=http://rfc3161timestamp.globalsign.com/advanced" + +set "FileList=" + +if exist ".\bin\Release\LiamWorkflowDiagnostics.exe" ( + set "FileList=!FileList! ".\bin\Release\LiamWorkflowDiagnostics.exe"" +) + +for %%F in (".\bin\Release\Liam*.dll") do ( + if exist "%%~fF" ( + set "FileList=!FileList! "%%F"" + ) +) + +if not defined FileList ( + echo No matching release binaries found to sign. + pause + exit /b 1 +) + +echo Signing all matching files at once... +call "%SignTool%" sign /a /tr %TimeStamp% /td SHA256 /fd SHA256 /d "%ProductName%" !FileList! + +pause diff --git a/Sonstiges/Icon1.ico b/Sonstiges/Icon1.ico new file mode 100644 index 0000000..70847b6 Binary files /dev/null and b/Sonstiges/Icon1.ico differ