From e7a3671b8e114ef3910a87bbfe378c0ec01ce6be Mon Sep 17 00:00:00 2001 From: kuekhaoyang Date: Fri, 2 Jan 2026 14:00:24 +0800 Subject: [PATCH] feat: add PWA manifest and Apple Web App configuration, and bump package version --- app/layout.tsx | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- public/manifest.json | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 public/manifest.json diff --git a/app/layout.tsx b/app/layout.tsx index 73e9ca1..8114efc 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -23,6 +23,14 @@ export const metadata: Metadata = { description: siteConfig.description, icons: { icon: '/icon.png', + apple: '/icon.png', + }, + manifest: '/manifest.json', + themeColor: '#000000', + appleWebApp: { + capable: true, + statusBarStyle: 'black-translucent', + title: siteConfig.name, }, }; diff --git a/package-lock.json b/package-lock.json index 642b1a9..ab1e91a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kvideo", - "version": "3.8.9", + "version": "3.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "kvideo", - "version": "3.8.9", + "version": "3.9.0", "dependencies": { "@dnd-kit/core": "^6.3.1", "@dnd-kit/sortable": "^10.0.0", diff --git a/package.json b/package.json index 5dde87f..0826697 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kvideo", - "version": "3.8.9", + "version": "3.9.0", "private": true, "scripts": { "dev": "next dev", diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..3b5f9b1 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "KVideo - 视频聚合平台", + "short_name": "KVideo", + "description": "视频聚合平台", + "start_url": "/", + "display": "standalone", + "background_color": "#000000", + "theme_color": "#000000", + "icons": [ + { + "src": "/icon.png", + "sizes": "1024x1024", + "type": "image/png", + "purpose": "any maskable" + } + ] +} \ No newline at end of file