Skip to content

Commit

Permalink
Added td argument to the signtool scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Mar 22, 2024
1 parent d8f7222 commit e78cceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdfsam-basic/src/msi/Build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ del /Q verifyWithLanguageDlg.wixobj
del /Q exitDlg.wixobj
del /Q harvestedFiles.wixobj

IF EXIST "${project.build.directory}/pdfsam-%PDFSAM_VERSION%.msi" "signtool.exe" sign /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /sha1 "%SIGN_CERT_FINGERPRINT%" /d "PDFsam Basic" "${project.build.directory}/pdfsam-%PDFSAM_VERSION%.msi"
IF EXIST "${project.build.directory}/pdfsam-%PDFSAM_VERSION%.msi" "signtool.exe" sign /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /sha1 "%SIGN_CERT_FINGERPRINT%" /d "PDFsam Basic" "${project.build.directory}/pdfsam-%PDFSAM_VERSION%.msi"
if %ERRORLEVEL% NEQ 0 goto error
ECHO "MSI signed"
POPD
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-basic/src/msi/SignExe.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ECHO OFF

IF NOT EXIST "${project.build.directory}\image\pdfsam\pdfsam.exe" GOTO error
attrib -r "${project.build.directory}\image\pdfsam\pdfsam.exe"
"signtool.exe" sign /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /sha1 "%SIGN_CERT_FINGERPRINT%" /d "PDFsam Basic Launcher" "${project.build.directory}\image\pdfsam\pdfsam.exe"
"signtool.exe" sign /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /sha1 "%SIGN_CERT_FINGERPRINT%" /d "PDFsam Basic Launcher" "${project.build.directory}\image\pdfsam\pdfsam.exe"
if %ERRORLEVEL% NEQ 0 goto error
ECHO "Launcher signed"

Expand Down

0 comments on commit e78cceb

Please sign in to comment.