docs(surge-teardown): 更新使用说明以支持进程替换方式运行脚本
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
#-------------------------------------------------------------------------------------------------------------
|
||||
# 使用方法:
|
||||
# export SURGE_TOKEN="你的 Surge Token"
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/surge-teardown-all.sh"; curl -fsSL "$URL" | bash
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/surge-teardown-all.sh"; wget -q -O - "$URL" | bash
|
||||
# 使用“进程替换”方式运行脚本: 这种方式不会占用 stdin,脚本可以正常进行交互:
|
||||
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/surge-teardown-all.sh"; bash <(curl -fsSL "$URL")
|
||||
#-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
echo "正在获取 Surge 部署列表..."
|
||||
|
||||
Reference in New Issue
Block a user