pinafore/static/manifest.json
Nolan Lawson cf0f1d884a
feat: add screenshots/categories to web app manifest (#1993)
* feat: add screenshots/categories to web app manifest

fixes #1971

* fix: whoops forgot the screenshots
2021-03-14 13:39:11 -07:00

133 lines
2.6 KiB
JSON

{
"background_color": "#ffffff",
"theme_color": "#4169e1",
"name": "Pinafore for Mastodon",
"short_name": "Pinafore",
"description": "Alternative web client for Mastodon, focused on speed and simplicity.",
"categories": [
"social"
],
"display": "standalone",
"start_url": "/?pwa=true",
"share_target": {
"action": "/share",
"method": "POST",
"enctype": "multipart/form-data",
"params": {
"title": "title",
"text": "text",
"url": "url",
"files": [
{
"name": "file",
"accept": [
"audio/*",
"image/*",
"video/*"
]
}
]
}
},
"icons": [
{
"src": "icon-48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "icon-72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "icon-96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "icon-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "icon-44.png",
"sizes": "44x44",
"type": "image/png"
},
{
"src": "icon-50.png",
"sizes": "50x50",
"type": "image/png"
},
{
"src": "icon-150.png",
"sizes": "150x150",
"type": "image/png"
},
{
"src": "icon-48-maskable.png",
"sizes": "48x48",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icon-72-maskable.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icon-96-maskable.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icon-144-maskable.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icon-192-maskable.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icon-512-maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"screenshots": [
{
"src": "screenshot-540-720-1.png",
"type": "image/png",
"sizes": "540x720"
},
{
"src": "screenshot-540-720-2.png",
"type": "image/jpeg",
"sizes": "540x720"
},
{
"src": "screenshot-540-720-3.png",
"type": "image/jpeg",
"sizes": "540x720"
}
]
}