fix: 更新 git 仓库地址为 atomdancing.pub/tlbm-mcp

- 远程地址: gitea@git.atomdancing.com:atomdancing.pub/tlbm-mcp.git
- 简化安装说明,统一使用 SSH 地址

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 12:08:07 +08:00
co-authored by Claude Opus 4.6
parent dbec51b6c0
commit 436f12ab15
2 changed files with 5 additions and 45 deletions
+2 -17
View File
@@ -16,9 +16,7 @@ done
# 构建 git URL
if [ -n "$TOKEN" ]; then
GIT_URL="https://oauth2:${TOKEN}@git.atomdancing.com/AtomDancing/tlbm-mcp.git"
else
GIT_URL="https://git.atomdancing.com/AtomDancing/tlbm-mcp.git"
GIT_URL="gitea@git.atomdancing.com:atomdancing.pub/tlbm-mcp.git"
fi
# 检测是否已克隆
@@ -28,20 +26,7 @@ if [ -d "tlbm-mcp" ]; then
git pull
else
echo "📥 克隆仓库..."
# 尝试克隆
if [ -n "$TOKEN" ]; then
git clone "$GIT_URL"
else
if git clone "$GIT_URL" 2>/dev/null; then
:
else
echo "⚠️ 仓库需要认证,请使用以下命令:"
echo " curl -fsSL https://git.atomdancing.com/AtomDancing/tlbm-mcp/raw/branch/main/install.sh | bash -s -- --token=YOUR_TOKEN"
echo ""
echo "💡 获取 Token: Gitea -> 设置 -> 应用 -> 生成访问令牌"
exit 1
fi
fi
git clone "$GIT_URL"
cd tlbm-mcp
fi