From 8e3e4e610c68994745b5cfbf30521a8b7ec3f4a9 Mon Sep 17 00:00:00 2001 From: alger Date: Fri, 10 Apr 2026 23:05:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(pwa):=20=E4=BF=AE=E5=A4=8D=20manifest.json?= =?UTF-8?q?=20=E6=9C=AA=E8=A2=AB=E5=BC=95=E7=94=A8=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E6=97=A0=E6=B3=95=E8=AF=86=E5=88=AB?= =?UTF-8?q?=20PWA=20(#640)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 index.html 中添加 manifest 引用,并补全 PWA 必需字段 --- resources/manifest.json | 8 +++++++- src/renderer/index.html | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/manifest.json b/resources/manifest.json index 6ee8c6b..f04dc25 100644 --- a/resources/manifest.json +++ b/resources/manifest.json @@ -1,5 +1,11 @@ { - "name": "Alger Music PWA", + "name": "Alger Music Player", + "short_name": "AlgerMusic", + "description": "AlgerMusicPlayer 音乐播放器,支持在线播放、歌词显示、音乐下载等功能。", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#000000", "icons": [ { "src": "./icon.png", diff --git a/src/renderer/index.html b/src/renderer/index.html index d104ef1..1500051 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -25,6 +25,7 @@ +