Skip to content

Commit 87dad90

Browse files
chore: point install.sh entry to GitHub raw URL
1 parent 26a3f0c commit 87dad90

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/cli/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ npm update -g @mp2rss/cli
122122
直接重跑安装命令即可:
123123

124124
```bash
125-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | sh
125+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | sh
126126
```
127127

128128
脚本会发现已存在的二进制并覆盖到同一位置。可用 `VERSION=v0.2.0` 锁定具体版本。

docs/cli/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ mp2rss mp list
3535

3636
```bash
3737
# 一键安装(推荐 macOS / Linux)
38-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | sh
38+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | sh
3939

4040
# npm 包装(Node ≥ 18)
4141
pnpm add -g @mp2rss/cli

docs/cli/install.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ checksums.txt # 每个 release 配套的 SHA-256
3232
## 方式一:install.sh 一键安装(推荐 macOS / Linux)
3333

3434
```bash
35-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | sh
35+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | sh
3636
```
3737

3838
脚本会:
@@ -47,16 +47,16 @@ curl -fsSL https://mp2rss.bugcode.dev/install.sh | sh
4747

4848
```bash
4949
# 指定安装目录
50-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | INSTALL_DIR="$HOME/.local/bin" sh
50+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | INSTALL_DIR="$HOME/.local/bin" sh
5151

5252
# 指定版本(默认最新)
53-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | VERSION=v0.2.0 sh
53+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | VERSION=v0.2.0 sh
5454

5555
# 跳过 SHA-256 校验(仅在受信镜像 / 离线环境下使用)
56-
curl -fsSL https://mp2rss.bugcode.dev/install.sh | NO_VERIFY=1 sh
56+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | NO_VERIFY=1 sh
5757

5858
# 组合使用
59-
curl -fsSL https://mp2rss.bugcode.dev/install.sh \
59+
curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh \
6060
| INSTALL_DIR="$HOME/.local/bin" VERSION=v0.2.0 NO_VERIFY=1 sh
6161
```
6262

docs/public/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22
# mp2rss-cli installer.
33
#
4-
# curl -fsSL https://mp2rss.bugcode.dev/install.sh | sh
5-
# curl -fsSL https://mp2rss.bugcode.dev/install.sh | INSTALL_DIR=$HOME/bin sh
6-
# curl -fsSL https://mp2rss.bugcode.dev/install.sh | VERSION=v0.2.0 NO_VERIFY=1 sh
4+
# curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | sh
5+
# curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | INSTALL_DIR=$HOME/bin sh
6+
# curl -fsSL https://raw.githubusercontent.com/areyoubugcoder/mp2rss-cli/main/scripts/install.sh | VERSION=v0.2.0 NO_VERIFY=1 sh
77
#
88
# POSIX sh (compatible with bash 3.2, dash, busybox ash). shellcheck clean.
99
set -eu

0 commit comments

Comments
 (0)