docs: make installer commands portable
This commit is contained in:
parent
14b89c4208
commit
19db0e97fc
@ -31,11 +31,12 @@ ICTLOGIN_RELEASE_TAG=v0.2.0 ./install.sh
|
||||
也可以先保存 `install.sh`,再从已有的本地文件或自定义 URL 安装:
|
||||
|
||||
```bash
|
||||
./install.sh
|
||||
./install.sh --source /path/to/ictlogin.pyz --prefix "$HOME/.local/bin"
|
||||
ICTLOGIN_PYZ_URL="https://example.invalid/ictlogin.pyz" ./install.sh
|
||||
curl --fail --location https://gitx.roy1994.top/mancitrus/ictlogin/raw/branch/main/install.sh -o install.sh
|
||||
sh install.sh
|
||||
sh install.sh --source /path/to/ictlogin.pyz --prefix "$HOME/.local/bin"
|
||||
ICTLOGIN_PYZ_URL="https://example.invalid/ictlogin.pyz" sh install.sh
|
||||
ICTLOGIN_PYZ_URL="https://example.invalid/ictlogin.pyz" \
|
||||
ICTLOGIN_PYZ_SHA256_URL="https://example.invalid/ictlogin.pyz.sha256" ./install.sh
|
||||
ICTLOGIN_PYZ_SHA256_URL="https://example.invalid/ictlogin.pyz.sha256" sh install.sh
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
Loading…
Reference in New Issue
Block a user