From 40544a59dc1117fc05592aca6506f76ebf64829a Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 24 May 2018 11:16:57 +0100 Subject: [PATCH] Pass a description to signtool when signing * This is used when the MSI installer runs and generates a temporary file for the UAC prompt, so it will display "RenderDoc" instead of "hj782.msi". --- util/buildscripts/scripts/sign.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/buildscripts/scripts/sign.sh b/util/buildscripts/scripts/sign.sh index 85a763eb1..0c40c85c3 100755 --- a/util/buildscripts/scripts/sign.sh +++ b/util/buildscripts/scripts/sign.sh @@ -35,7 +35,7 @@ if [ $? -eq 1 ] ; then TSS=${TSSLIST[0]} echo Signing $1 using timestamp server $TSS ... sleep 1 - signtool sign //f "${BUILD_ROOT}"/support/key.pfx //fd sha256 //p $PASS //tr $TSS //td sha256 $1 + signtool sign //d RenderDoc //f "${BUILD_ROOT}"/support/key.pfx //fd sha256 //p $PASS //tr $TSS //td sha256 $1 if [ $? -eq 0 ] ; then # Successfully signed, return success exit 0 @@ -57,7 +57,7 @@ if [ $? -eq 1 ] ; then echo Signing failed, retry $RETRY. Using timestamp server $TSS ... sleep 4 echo Retrying signing of $1 - signtool sign //f "${BUILD_ROOT}"/support/key.pfx //p $PASS //tr $TSS $1 + signtool sign //d RenderDoc //f "${BUILD_ROOT}"/support/key.pfx //p $PASS //tr $TSS $1 if [ $? -eq 0 ] ; then # Successfully signed, return success exit 0