refactor: 将脚本下载链接中的分支从 main 更新为 2026

This commit is contained in:
严浩 committed 2026-03-09 17:57:47 +08:00
1 parent 367a37f29b
commit efcc19e914
5 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@
# ...
#
# 使用方法:
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/1.sh"; curl -fsSL "$URL" | bash
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/main/1.sh"; wget -q -O - "$URL" | bash
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/1.sh"; curl -fsSL "$URL" | bash
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/1.sh"; wget -q -O - "$URL" | bash
set -e # 遇到错误即退出
trap 'echo "Error on line $LINENO"' ERR