feat: 添加智能网络层 - #12
Open
slobys wants to merge 2 commits into
Open
Conversation
- 添加智能下载引擎 (lib/download.sh) - 添加错误处理框架 (lib/error.sh) - 添加镜像源配置 (config/mirrors.conf) - 添加网络诊断工具 (tools/network-diagnose.sh) - 添加缓存管理工具 (tools/cache-manager.sh) - 添加智能安装脚本 (install-smart.sh) - 更新 menu.sh 支持智能版本优先 智能网络层特性: ✅ 多源备用下载 (GitHub → jsDelivr → ghproxy) ✅ 自动重试和工具切换 ✅ 缓存支持和离线模式 ✅ 友好错误处理和恢复建议 ✅ 网络诊断和镜像选择 解决的核心问题: 🔧 GitHub raw 503 错误 → 自动切换镜像源 🔧 SourceForge 公钥失败 → 多源备用 + 临时公钥 🔧 网络不稳定安装失败 → 自动重试 + 缓存支持
- 添加智能下载库支持 - 多源备用公钥下载 (SourceForge → GitHub → jsDelivr → ghproxy) - 自动重试和临时公钥生成 - 保持向后兼容,传统方式作为回退
slobys
force-pushed
the
main
branch
7 times, most recently
from
May 13, 2026 07:16
acd3dcd to
18760bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
智能网络层特性:
✅ 多源备用下载 (GitHub → jsDelivr → ghproxy)
✅ 自动重试和工具切换
✅ 缓存支持和离线模式
✅ 友好错误处理和恢复建议
✅ 网络诊断和镜像选择
解决的核心问题:
🔧 GitHub raw 503 错误 → 自动切换镜像源
🔧 SourceForge 公钥失败 → 多源备用 + 临时公钥
🔧 网络不稳定安装失败 → 自动重试 + 缓存支持