接入自签名代码签名:主 exe、watchdog、安装包与卸载器统一签名
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 同步签名流程与三条坑。
This commit is contained in:
1 parent
2886a61d10
commit
37827eb8c7
9 files changed
+237
-10
No files matched your search
@@ -6,6 +6,9 @@ build/
|
||||
*.exe
|
||||
*.dll
|
||||
|
||||
# 代码签名私钥(公钥 certs/*.cer 可以提交,.pfx 绝不进仓库)
|
||||
*.pfx
|
||||
|
||||
# 本地配置与日志(运行时生成)
|
||||
config.json
|
||||
*.bak
|
||||
|
||||
Reference in new issue
Block a user