Use user-provided codesign script for Windows signing

The `app/win/codesign` script should take a path to a file and a
description (`/d` parameter to `signtool.exe`) and sign the file using
whatever process the certificate authority requires.
This commit is contained in:
Dan Stillman 2024-01-23 06:59:34 +00:00
parent 38dc364f57
commit db19e52547
4 changed files with 10 additions and 49 deletions

View file

@ -93,9 +93,9 @@ if [ $platform = "w" ]; then
echo -n "Checking for uuidgen: "
which uuidgen || { $FAIL_CMD; FAILED=1; }
echo -n "Checking for signtool: "
if [ -x "`cygpath -u \"$SIGNTOOL\"`" ]; then
echo "`cygpath -u \"$SIGNTOOL\"`"
echo -n "Checking for code-signing script: "
if [ -x "$APP_ROOT_DIR/win/codesign" ]; then
echo "$APP_ROOT_DIR/win/codesign"
else
$FAIL_CMD
FAILED=1