feat(home): enhance HomeScreen with API configuration checks and error handling

This commit is contained in:
zimplexing
2025-08-13 19:13:18 +08:00
parent fc81de1728
commit 5b6631624d
3 changed files with 34 additions and 7 deletions

View File

@@ -6,8 +6,8 @@ export const UPDATE_CONFIG = {
CHECK_INTERVAL: 12 * 60 * 60 * 1000, // 12小时
// GitHub相关URL
GITHUB_RAW_URL: 'https://raw.githubusercontent.com/zimplexing/OrionTV/refs/heads/master/package.json',
GITHUB_RELEASE_URL_TEMPLATE: 'https://github.com/zimplexing/OrionTV/releases/download/v{version}/orionTV.{version}.apk',
GITHUB_RAW_URL: 'https://ghfast.top/https://raw.githubusercontent.com/zimplexing/OrionTV/refs/heads/master/package.json',
GITHUB_RELEASE_URL_TEMPLATE: 'https://ghfast.top/https://github.com/zimplexing/OrionTV/releases/download/v{version}/orionTV.{version}.apk',
// 是否显示更新日志
SHOW_RELEASE_NOTES: true,