diff --git a/CHANGELOG b/CHANGELOG index 5c31ca0..270a6ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,47 @@ +## [8.9.0] - 2025-09-15 + +### Added +- 机器识别码设定开关 +- 配置文件去重添加 +- 视频源编辑 +- 单个视频源进行有效性检测 +### Changed +- 聊天页面适配移动端 +### Fixed +- 弹幕发送问题 +- 播放页测速问题 + +## [8.8.9] - 2025-09-14 +### Added +- 聊天,好友等功能 +- 支持arm架构镜像 +### Fixed +- 播放页面500问题 + +### Added + +- 聊天,好友等功能 +- 支持arm架构镜像 + +### Fixed +- 播放页面500问题 + +## [8.8.8] - 2025-09-12 + +### Added + +- 新增短剧类目聚合 +- 支持短剧类目搜索 +- 弹幕功能 +- 用户头像上传 +- 设备识别码绑定用户 + +### Changed +- 美化界面 +- 修改图标和标题 +### Fixed +- 停用版本检查功能 + ## [100.0.0] - 2025-08-26 ### Added diff --git a/VERSION.txt b/VERSION.txt index 324a82a..3ecb398 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -8.8.8 \ No newline at end of file +8.9.0 \ No newline at end of file diff --git a/src/components/VersionPanel.tsx b/src/components/VersionPanel.tsx index 14bd3af..5c33f74 100644 --- a/src/components/VersionPanel.tsx +++ b/src/components/VersionPanel.tsx @@ -81,7 +81,7 @@ export const VersionPanel: React.FC = ({ const fetchRemoteChangelog = async () => { try { const response = await fetch( - 'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/CHANGELOG' + 'https://raw.githubusercontent.com/djteang/OrangeTV/refs/heads/main/CHANGELOG' ); if (response.ok) { const content = await response.text(); @@ -188,10 +188,10 @@ export const VersionPanel: React.FC = ({
{/* 版本标题 */} @@ -363,7 +363,7 @@ export const VersionPanel: React.FC = ({
= ({
diff --git a/src/lib/version_check.ts b/src/lib/version_check.ts index 7c2ef6a..fae3646 100644 --- a/src/lib/version_check.ts +++ b/src/lib/version_check.ts @@ -2,7 +2,7 @@ 'use client'; -import { CURRENT_VERSION } from "@/lib/version"; +import { CURRENT_VERSION } from '@/lib/version'; // 版本检查结果枚举 export enum UpdateStatus { @@ -13,7 +13,7 @@ export enum UpdateStatus { // 远程版本检查URL配置 const VERSION_CHECK_URLS = [ - 'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/VERSION.txt', + 'https://raw.githubusercontent.com/djteang/OrangeTV/refs/heads/main/VERSION.txt', ]; /** @@ -89,19 +89,21 @@ async function fetchVersionFromUrl(url: string): Promise { */ export function compareVersions(remoteVersion: string): UpdateStatus { // 如果版本号相同,无需更新 - if ('8.9.0' === CURRENT_VERSION) { + if (remoteVersion === CURRENT_VERSION) { return UpdateStatus.NO_UPDATE; } try { // 解析版本号为数字数组 [X, Y, Z] - const currentParts = (CURRENT_VERSION as string).split('.').map((part: string) => { - const num = parseInt(part, 10); - if (isNaN(num) || num < 0) { - throw new Error(`无效的版本号格式: ${CURRENT_VERSION}`); - } - return num; - }); + const currentParts = (CURRENT_VERSION as string) + .split('.') + .map((part: string) => { + const num = parseInt(part, 10); + if (isNaN(num) || num < 0) { + throw new Error(`无效的版本号格式: ${CURRENT_VERSION}`); + } + return num; + }); const remoteParts = remoteVersion.split('.').map((part: string) => { const num = parseInt(part, 10); @@ -147,4 +149,4 @@ export function compareVersions(remoteVersion: string): UpdateStatus { ? UpdateStatus.HAS_UPDATE : UpdateStatus.NO_UPDATE; } -} \ No newline at end of file +}