Add webapps data for PWA compatibility

Description, shortcut, display mode, icon
pull/1/head
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
1 changed files with 51 additions and 6 deletions

View File

@ -1,8 +1,53 @@
{
"background_color": "#ffffff",
"theme_color": "#333333",
"name": "Paimon.moe",
"short_name": "Paimon.moe",
"display": "minimal-ui",
"start_url": "/"
"background_color": "#333344",
"theme_color": "#333333",
"name": "Paimon.moe",
"short_name": "Paimon.moe",
"display": "standalone",
"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"
}