Files
zerorigin-toolbox/README.md
T
2026-11-16 02:27:09 +00:00

24 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ZerOriginToolBox
零源工具箱:Windows 轻量自动化工具箱,单个 mygo 进程(托盘常驻 + 原生设置窗口 + 触发器/规则/动作引擎)+ watchdog 监督进程。
## 这个仓库同时承担两件事
1. **源码**:`cmd/`(zerorigin 主进程、watchdog、诊断工具)、`internal/`、`docs/`。
2. **自更新分发**:**请不要删除或改名 Release `latest` 里的附件**。那是便携版客户端检查更新的
`updates.url`,URL 已经写死进每一个已发布的 exe,删掉就等于让所有用户断更。
## 发版流程
1. 改 `mygo.json` 的 `version`;
2. 在 `CHANGELOG.md` 里加 `## <版本号>` 段(mygo 用它做更新窗口的发布说明);
3. `build.bat quick`(或完整 `build.bat`),需要 `%APPDATA%\mygo\update-keys\mygo-update.key` 才会签名并产出更新包;
4. 发布:
```powershell
$env:GITEA_TOKEN = "<个人访问令牌>"
./scripts/publish-gitea.ps1 -Owner zerorigin -Repo zerorigin-toolbox
```
脚本会先传归档与 delta,最后传 manifest,并先删除同名的旧 manifest 附件。