docs: clarify release selection
This commit is contained in:
parent
19db0e97fc
commit
9c62ba21ae
@ -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 安装:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user