docs(readme): Releases 改回 GitHub 为主、Gitea 作镜像
回退 9e64d29 把方向搞反的部分:GitHub Releases 是 canonical 主发布
(action-gh-release@v2 一手做的),Gitea 是 mirror 步骤(走 Gitea API
PowerShell 同步,有 GITEA_TOKEN 才执行)。以 GitHub 为对外主推。
- 下载段:GitHub Releases 作主入口,加一句"国内慢可走 Gitea 镜像"
- 自行构建段:如实写"GitHub Actions 构建 → GitHub Releases 发布
→ Gitea API 镜像 zip"三步
- README.en.md 同步
This commit is contained in:
+4
-3
@@ -22,7 +22,7 @@ with the game's scope state.
|
||||
|
||||
1. **Bind "hold breath" in-game** to a key that does not conflict with other
|
||||
actions (e.g. `F12`).
|
||||
2. **Download** the latest `df-scope-hold-vX.X.X.zip` from [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases) and unzip anywhere.
|
||||
2. **Download** the latest `df-scope-hold-vX.X.X.zip` from [GitHub Releases](https://github.com/ZhengchenTao/df-scope-hold/releases) and unzip anywhere. If GitHub is slow in your region, a mirror is available at [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases) (auto-synced from each GitHub release).
|
||||
3. **Edit `config.ini`** so `key` matches the in-game binding.
|
||||
4. **Run `df-scope-hold.exe`**. UAC will prompt for admin privileges — accept,
|
||||
as the anti-cheat-protected game process is otherwise undetectable.
|
||||
@@ -60,8 +60,9 @@ pyinstaller --onefile --uac-admin --console --name df-scope-hold script.py
|
||||
```
|
||||
|
||||
Output at `dist/df-scope-hold.exe`. GitHub Actions builds on `windows-latest`
|
||||
(see `.github/workflows/release.yml`) when you push a `v*` tag, then syncs
|
||||
the artifact to [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases)
|
||||
(see `.github/workflows/release.yml`) when you push a `v*` tag, publishes the
|
||||
zip to [GitHub Releases](https://github.com/ZhengchenTao/df-scope-hold/releases),
|
||||
and mirrors it to [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases)
|
||||
via the Gitea API — no local build needed.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
Reference in New Issue
Block a user