docs: clarify release selection

This commit is contained in:
roy1994 2026-08-23 05:47:17 +08:00
parent 19db0e97fc
commit 81ef158dcd

View File

@ -22,10 +22,10 @@ python3 -m pip install --user --no-deps --no-build-isolation .
curl --fail --location https://gitx.roy1994.top/mancitrus/ictlogin/raw/branch/main/install.sh | sh
```
安装脚本默认下载 `v0.2.0` Release 中的 `ictlogin.pyz`,验证对应的 SHA-256 后写入 `~/.local/bin/ictlogin`。需要其他版本时设置 Release 标签:
安装脚本默认下载 `v0.2.0` Release 中的 `ictlogin.pyz`,验证对应的 SHA-256 后写入 `~/.local/bin/ictlogin`。需要其他版本时设置 Release 标签,例如:
```bash
ICTLOGIN_RELEASE_TAG=v0.2.0 ./install.sh
ICTLOGIN_RELEASE_TAG=vX.Y.Z sh install.sh
```
也可以先保存 `install.sh`,再从已有的本地文件或自定义 URL 安装: