mygo.json 增加 windows.signCommand -> scripts/codesign/sign-file.ps1(PowerShell Set-AuthenticodeSignature,不依赖 Windows SDK)。新增 new-cert.ps1 生成 10 年期自签名证书、trust.ps1 导入当前用户 Root + TrustedPublisher(certutil 静默导入)。公钥 certs/ZeroOrigin-CodeSign.cer 进仓库,*.pfx 进 .gitignore。AGENTS.md / 架构文档 / README 同步签名流程与三条坑。
25 lines
354 B
Plaintext
25 lines
354 B
Plaintext
# 编译产物
|
||
bin/
|
||
build/
|
||
|
||
# 可执行文件(含 resources/ 下预编译的 watchdog.exe)
|
||
*.exe
|
||
*.dll
|
||
|
||
# 代码签名私钥(公钥 certs/*.cer 可以提交,.pfx 绝不进仓库)
|
||
*.pfx
|
||
|
||
# 本地配置与日志(运行时生成)
|
||
config.json
|
||
*.bak
|
||
logs/
|
||
|
||
# 其他工具的本地状态
|
||
.reasonix/
|
||
.workbuddy/
|
||
.tmp/
|
||
|
||
# 编辑器
|
||
.vscode/
|
||
.idea/
|