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
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
### 2. 下载并解压
|
||||
|
||||
到 [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases) 下载最新的 `df-scope-hold-vX.X.X.zip`,解压到任意目录。
|
||||
到 [GitHub Releases](https://github.com/ZhengchenTao/df-scope-hold/releases) 下载最新的 `df-scope-hold-vX.X.X.zip`,解压到任意目录。国内访问慢的话可走 [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases)(GitHub 同 tag 自动同步过来的镜像)。
|
||||
|
||||
zip 内含:
|
||||
|
||||
@@ -75,7 +75,7 @@ pip install -r requirements.txt
|
||||
pyinstaller --onefile --uac-admin --console --name df-scope-hold script.py
|
||||
```
|
||||
|
||||
产物在 `dist/df-scope-hold.exe`。仓库已配置 GitHub Actions(windows-latest 跑 PyInstaller,详见 `.github/workflows/release.yml`),推 `v*` tag 后自动构建,再通过 Gitea API 同步发布到 [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases),无需本地操作。
|
||||
产物在 `dist/df-scope-hold.exe`。仓库已配置 GitHub Actions(windows-latest 跑 PyInstaller,详见 `.github/workflows/release.yml`),推 `v*` tag 后自动构建并发布到 [GitHub Releases](https://github.com/ZhengchenTao/df-scope-hold/releases),同时通过 Gitea API 把 zip 镜像到 [Gitea Releases](https://git.zhengchentao.win/zhengchen.tao/df-scope-hold/releases),无需本地操作。
|
||||
|
||||
## 免责声明
|
||||
|
||||
|
||||
Reference in New Issue
Block a user