diff --git a/README.md b/README.md index 60add09..ab2b7ce 100644 --- a/README.md +++ b/README.md @@ -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 ``` ## 使用