fix(api): enhance SourceConfig filtering to ensure unique site entries and improve validation

fix(update): update GitHub URLs in UpdateConfig and bump version to 1.3.5
This commit is contained in:
zimplexing
2025-08-15 17:24:42 +08:00
parent cfb3982611
commit 6db0c5d888
3 changed files with 23 additions and 11 deletions

View File

@@ -7,11 +7,11 @@ export const UPDATE_CONFIG = {
// GitHub相关URL
GITHUB_RAW_URL:
"https://gh-proxy.com/https://raw.githubusercontent.com/orion-lib/OrionTV/refs/heads/master/package.json",
"https://ghfast.top/https://raw.githubusercontent.com/orion-lib/OrionTV/refs/heads/master/package.json",
// 获取平台特定的下载URL
getDownloadUrl(version: string): string {
return `https://gh-proxy.com/https://github.com/orion-lib/OrionTV/releases/download/v${version}/orionTV.${version}.apk`;
return `https://ghfast.top/https://github.com/orion-lib/OrionTV/releases/download/v${version}/orionTV.${version}.apk`;
},
// 是否显示更新日志