mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
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".
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user