From b7e0deb16861251e105827cbfc852ae95d493708 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 3 Oct 2026 18:37:39 -0500 Subject: [PATCH] Don't require SIGNTOOL_PARAMS to contain the 'sign' command --- scripts/build-arch.bat | 4 ++-- scripts/generate-bundle.bat | 2 +- wix/MoonlightSetup/MoonlightSetup.wixproj | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build-arch.bat b/scripts/build-arch.bat index 3e1667e5..f0c7dd31 100644 --- a/scripts/build-arch.bat +++ b/scripts/build-arch.bat @@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" ( ) if not defined SIGNTOOL_PARAMS ( - echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds" + echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds exit /b 1 ) @@ -280,7 +280,7 @@ if "%SIGN%"=="1" ( for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do ( set FILES_TO_SIGN=!FILES_TO_SIGN! %%f ) - signtool %SIGNTOOL_PARAMS% !FILES_TO_SIGN! + signtool sign %SIGNTOOL_PARAMS% !FILES_TO_SIGN! if !ERRORLEVEL! NEQ 0 goto Error ) diff --git a/scripts/generate-bundle.bat b/scripts/generate-bundle.bat index 16bb575d..3e685e33 100644 --- a/scripts/generate-bundle.bat +++ b/scripts/generate-bundle.bat @@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" ( ) if not defined SIGNTOOL_PARAMS ( - echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds" + echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds exit /b 1 ) ) else ( diff --git a/wix/MoonlightSetup/MoonlightSetup.wixproj b/wix/MoonlightSetup/MoonlightSetup.wixproj index 796ee5b0..3ae89827 100644 --- a/wix/MoonlightSetup/MoonlightSetup.wixproj +++ b/wix/MoonlightSetup/MoonlightSetup.wixproj @@ -16,10 +16,10 @@ true - + - +