Fix iOS Safari compatibility and GitHub Actions build issues

Co-authored-by: 20250410303 <20250410303@stu.fosu.edu.cn>
This commit is contained in:
Cursor Agent
2025-08-29 03:52:48 +00:00
parent f239211864
commit 32b9521030
16 changed files with 635 additions and 744 deletions
+24 -24
View File
@@ -15,37 +15,37 @@ const siteName = process.env.SITE_NAME || 'MoonTV';
// manifest.json 模板
const manifestTemplate = {
"name": siteName,
"short_name": siteName,
"description": "影视聚合",
"start_url": "/",
"scope": "/",
"display": "standalone",
"background_color": "#000000",
"apple-mobile-web-app-capable": "yes",
"apple-mobile-web-app-status-bar-style": "black",
"icons": [
name: siteName,
short_name: siteName,
description: '影视聚合',
start_url: '/',
scope: '/',
display: 'standalone',
background_color: '#000000',
'apple-mobile-web-app-capable': 'yes',
'apple-mobile-web-app-status-bar-style': 'black',
icons: [
{
"src": "/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
src: '/icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
"src": "/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
src: '/icons/icon-256x256.png',
sizes: '256x256',
type: 'image/png',
},
{
"src": "/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
src: '/icons/icon-384x384.png',
sizes: '384x384',
type: 'image/png',
},
{
"src": "/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
},
],
};
try {