mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-29 23:15:03 +08:00
Change: Web Manifest
This commit is contained in:
parent
ca462f94fa
commit
e089fe1268
@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "音乐解锁",
|
|
||||||
"short_name": "音乐解锁",
|
|
||||||
"description": "在任何设备上解锁已购的加密音乐!",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "./img/icons/android-chrome-192x192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "./img/icons/android-chrome-512x512.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"start_url": "./index.html",
|
|
||||||
"display": "standalone",
|
|
||||||
"background_color": "#000000",
|
|
||||||
"theme_color": "#4DBA87"
|
|
||||||
}
|
|
@ -2,6 +2,36 @@ module.exports = {
|
|||||||
publicPath: '',
|
publicPath: '',
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
pwa: {
|
pwa: {
|
||||||
|
manifestPath: "web-manifest.json",
|
||||||
|
name: "音乐解锁",
|
||||||
|
themeColor: "#4DBA87",
|
||||||
|
msTileColor: "#000000",
|
||||||
|
manifestOptions: {
|
||||||
|
start_url: "./index.html",
|
||||||
|
description: "在任何设备上解锁已购的加密音乐!",
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
'src': './img/icons/android-chrome-192x192.png',
|
||||||
|
'sizes': '192x192',
|
||||||
|
'type': 'image/png'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'src': './img/icons/android-chrome-512x512.png',
|
||||||
|
'sizes': '512x512',
|
||||||
|
'type': 'image/png'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
appleMobileWebAppCapable: 'yes',
|
||||||
|
iconPaths: {
|
||||||
|
faviconSVG: './img/icons/safari-pinned-tab.svg',
|
||||||
|
favicon32: './img/icons/favicon-32x32.png',
|
||||||
|
favicon16: './img/icons/favicon-16x16.png',
|
||||||
|
appleTouchIcon: './img/icons/apple-touch-icon-152x152.png',
|
||||||
|
maskIcon: './img/icons/safari-pinned-tab.svg',
|
||||||
|
msTileImage: './img/icons/msapplication-icon-144x144.png'
|
||||||
|
},
|
||||||
|
workboxPluginMode: "GenerateSW",
|
||||||
workboxOptions: {
|
workboxOptions: {
|
||||||
skipWaiting: true
|
skipWaiting: true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user