fix(1.16.0): update/install 來源改指 Gitea(GitHub uncle6me-web 已 suspend=自動更新早就死了)+補 system-dev/VERSION 同步

發現:所有下游 repo 的 update.sh 都指向已被 suspend 的 GitHub 帳號
raw.githubusercontent.com/uncle6me-web/… → 一律「取不到遠端版本」而中止。
去 GitHub 化時漏掉這條,等於整套自動更新機制靜默失效。

改指 git.uncle6.me/Leo/system-dev-template/raw/branch/main(實測 200)。
另:版本真相源有兩份(template/.claude/VERSION 與 template/system-dev/VERSION),
update.sh 讀的是後者但 1.15.0 只更新了前者 → 補齊,並列為之後要收斂的雙檔同步債。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-21 01:38:45 +08:00
parent ed3a97c6a2
commit 4d14b05d81
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ t() { if [ "$IS_ZH" = "yes" ]; then printf '%s\n' "$1"; else printf '%s\n' "$2";
# tn = 不換行版(給 prompt 用)
tn() { if [ "$IS_ZH" = "yes" ]; then printf '%s' "$1"; else printf '%s' "$2"; fi; }
REPO_URL="https://raw.githubusercontent.com/uncle6me-web/system-dev-template/main/template"
REPO_URL="https://git.uncle6.me/Leo/system-dev-template/raw/branch/main/template"
# install.sh / update.sh 住在 main/scripts/(不在 template/)。
SCRIPTS_URL="https://raw.githubusercontent.com/uncle6me-web/system-dev-template/main/scripts"
SCRIPTS_URL="https://git.uncle6.me/Leo/system-dev-template/raw/branch/main/scripts"
CREATED=()
SKIPPED=()
@@ -115,7 +115,7 @@ if [ -d "system-dev" ] || [ -d ".claude/wiki" ] || [ -f ".claude/VERSION" ]; the
t " 後續的更新、遷移、補新檔,一律由「更新腳本」處理(不要重跑 install):" \
" All updates, migrations, and new-file additions are handled by the UPDATER (don't re-run install):"
echo ""
echo " curl -sSL https://raw.githubusercontent.com/uncle6me-web/system-dev-template/main/scripts/update.sh | bash"
echo " curl -sSL https://git.uncle6.me/Leo/system-dev-template/raw/branch/main/scripts/update.sh | bash"
echo ""
t " (重跑 install 可能建出空白範本、跟你的真資料並存,故在此停止。)" \
" (Re-running install could create empty templates alongside your real data, so it stops here.)"
+1 -1
View File
@@ -23,7 +23,7 @@ esac
t() { if [ "$IS_ZH" = "yes" ]; then printf '%s\n' "$1"; else printf '%s\n' "$2"; fi; }
tn() { if [ "$IS_ZH" = "yes" ]; then printf '%s' "$1"; else printf '%s' "$2"; fi; }
REPO_RAW="https://raw.githubusercontent.com/uncle6me-web/system-dev-template/main"
REPO_RAW="https://git.uncle6.me/Leo/system-dev-template/raw/branch/main"
TEMPLATE_URL="$REPO_RAW/template"
UPDATED=()
+1 -1
View File
@@ -1 +1 @@
1.15.0
1.16.0