Add webapps data for PWA compatibility

Description, shortcut, display mode, icon
This commit is contained in:
mspratama 2021-08-19 17:06:34 +07:00 committed by GitHub
parent ae7986eacb
commit 29c8df616c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,53 @@
{ {
"background_color": "#ffffff", "background_color": "#333344",
"theme_color": "#333333", "theme_color": "#333333",
"name": "Paimon.moe", "name": "Paimon.moe",
"short_name": "Paimon.moe", "short_name": "Paimon.moe",
"display": "minimal-ui", "display": "standalone",
"start_url": "/" "icons": [
{
"src": "/favicon.png",
"type": "image/png",
"apple-touch-icon": "#efefef",
"sizes": "192x192"
},
{
"src": "/favicon.png",
"type": "image/png",
"apple-touch-icon": "#efefef",
"sizes": "512x512"
},
{
"src": "/favicon.png",
"type": "image/png",
"apple-touch-icon": "#efefef",
"purpose": "maskable",
"sizes": "512x512"
}],
"scope": "/",
"start_url": "/",
"shortcuts": [
{
"name": "Wish Counter",
"short_name": "Wish",
"description": "Wish Counter",
"url": "/wish?src=pwa",
"icons": [{ "src": "/images/wish.png", "sizes": "192x192" }]
},
{
"name": "Calculator",
"short_name": "Calculator",
"description": "Calculator",
"url": "/calculator?src=pwa",
"icons": [{ "src": "/images/calculator.png", "sizes": "192x192" }]
},
{
"name": "To do",
"short_name": "To do list",
"description": "somethin to do",
"url": "/todo?src=pwa",
"icons": [{ "src": "/images/todos.png", "sizes": "192x192" }]
}
],
"description": "Your best Genshin companion ever"
} }