Skip to content

feat: add GitHub APK download acceleration - #96

Open
wfion wants to merge 1 commit into
fish2018:mainfrom
wfion:codex/github-apk-acceleration
Open

feat: add GitHub APK download acceleration#96
wfion wants to merge 1 commit into
fish2018:mainfrom
wfion:codex/github-apk-acceleration

Conversation

@wfion

@wfion wfion commented Jul 27, 2026

Copy link
Copy Markdown

本次修改主要包含以下内容:

新增自动回退机制:

  • gh-proxy → ghfast → GitHub 直连
  • 自定义源 → gh-proxy → ghfast → GitHub 直连
  • 下载失败、文件不完整、SHA-256 错误或 APK 无效都会自动尝试下一地址
  • 可用的 CNB 镜像作为最后备用

增加配置界面:

  • “关于”弹窗新增“APK 下载源”
  • 自定义源支持 URL 校验
  • 配置会持久保存,并纳入应用设置备份
  • 补充简体中文、繁体中文和英文文案

保持影响范围可控:

  • 只代理应用更新的 APK
  • GitHub API、更新清单和更新日志仍然直连
  • 不影响 EPG、Jar、壁纸等通用下载功能

增加测试:

  • 下载源规范化和 URL 拼接
  • 各来源回退顺序
  • 无效自定义 URL
  • 候选地址去重
  • 下载队列推进和取消
  • 设置备份分类

#95 已经处理 麻烦大佬看看行不行,Vibe的。使用Action CI 构建卡在证书那里了

@wfion

wfion commented Jul 27, 2026

Copy link
Copy Markdown
Author

@fish2018 已经处理 麻烦大佬看看行不行,Vibe的。使用Action CI 构建卡在证书那里了。
本软件用起来比原版好用多了,多谢大佬的奉献!

YaChengMu pushed a commit to YaChengMu/webhtv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant