Fix Windows signtool error by removing invalid /debug flag (#2443)
## Summary
- Removes the invalid `/debug` flag from signtool parameters in
`windowsSign.ts`
- The `/debug` flag is not a supported signtool option and was causing
Windows builds to fail with `SignTool Error: Invalid option: /debug`
## Test plan
- [ ] Verify Windows release build succeeds by running the Release
workflow
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2443">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Removed the invalid /debug flag from signtool params in windowsSign.ts
to fix Windows build failures. This resolves “SignTool Error: Invalid
option: /debug” during signing.
<sup>Written for commit e8d71407fdcf4a3171ee12e9fe9028b4cbc584fe.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: a one-line change to Windows code-signing flags that only
affects signing invocation and should reduce build failures.
>
> **Overview**
> Removes the unsupported `/debug` option from `windowsSign.ts`
`signWithParams`, leaving only the verbose (`/v`) and Azure signing
library/metadata parameters. This aims to prevent `signtool` from
failing Windows builds due to an invalid flag.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e8d71407fdcf4a3171ee12e9fe9028b4cbc584fe. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论