From 2ac422235bceca50f6f8fe7f4673878c997dd3bd Mon Sep 17 00:00:00 2001 From: youpaishidifu Date: Sat, 8 Aug 2026 20:45:42 +0800 Subject: [PATCH] =?UTF-8?q?security:=20=E5=A2=9E=E5=BC=BA=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=AD=BE=E5=90=8D=E8=84=9A=E6=9C=AC=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加签名描述:WindowMsgBot - 添加签名URL:https://github.com/ypshidifu/windowmsgbot - 添加详细输出选项(/v) - 使用更安全的签名选项 --- build/sign.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/sign.bat b/build/sign.bat index e860790..f719bfc 100644 --- a/build/sign.bat +++ b/build/sign.bat @@ -65,7 +65,8 @@ echo Using signtool: %SIGNTOOL% echo. echo 1. Signing exe... -"%SIGNTOOL%" sign /f "%CERT_PFX%" /p "%CERT_PASS%" /tr http://timestamp.digicert.com /td sha256 /fd sha256 "%EXE_PATH%" +REM 使用更安全的签名选项:指定描述、URL、时间戳服务器 +"%SIGNTOOL%" sign /f "%CERT_PFX%" /p "%CERT_PASS%" /d "WindowMsgBot" /du "https://github.com/ypshidifu/windowmsgbot" /tr http://timestamp.digicert.com /td sha256 /fd sha256 /v "%EXE_PATH%" if %errorlevel% neq 0 ( echo [ERROR] Signing failed! pause