File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ` 锁定具体版本。
Original file line number Diff line number Diff 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)
4141pnpm add -g @mp2rss/cli
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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.
99set -eu
You can’t perform that action at this time.
0 commit comments