Skip to content

Commit 33ebc42

Browse files
committed
修复签名错误
1 parent 4265d61 commit 33ebc42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ Task("Inner Sign")
258258

259259
if (GitHubActions.Environment.Workflow.Workflow == "Snap Hutao Remastered Alpha")
260260
{
261-
arguments = $"sign /debug /v /a /fd SHA256 /t http://timestamp.digicert.com /f {pfxPath} /p {pw} {System.IO.Path.Combine(outputPath, $"*.exe")} {System.IO.Path.Combine(outputPath, $"*.dll")}";
261+
arguments = $"sign /debug /v /as /fd SHA256 /tr http://timestamp.digicert.com /SHA256 /f {pfxPath} /p {pw} {System.IO.Path.Combine(binPath, $"*.exe")} {System.IO.Path.Combine(outputPath, $"*.dll")}";
262262
}
263263
else if (GitHubActions.Environment.Workflow.Workflow == "Snap Hutao Remastered Canary")
264264
{
265-
arguments = $"sign /debug /v /a /fd SHA256 /t http://timestamp.digicert.com /f {pfxPath} /p {pw} {System.IO.Path.Combine(outputPath, $"*.exe")} {System.IO.Path.Combine(outputPath, $"*.dll")}";
265+
arguments = $"sign /debug /v /as /fd SHA256 /tr http://timestamp.digicert.com /SHA256 /f {pfxPath} /p {pw} {System.IO.Path.Combine(binPath, $"*.exe")} {System.IO.Path.Combine(outputPath, $"*.dll")}";
266266
}
267267
else
268268
{

0 commit comments

Comments
 (0)