{
    "name": "ImBoy Web",
    "short_name": "ImBoy",
    "description": "ImBoy - 端到端加密即时通讯 Web 版",
    "start_url": ".",
    "display": "standalone",
    "background_color": "#111B21",
    "theme_color": "#00A884",
    "orientation": "any",
    "prefer_related_applications": false,
    "categories": ["social", "communication"],
    "lang": "zh-CN",
    "scope": "/",
    "icons": [
        {
            "src": "icons/Icon-192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "icons/Icon-512.png",
            "sizes": "512x512",
            "type": "image/png"
        }
    ],
    "screenshots": [
        {
            "src": "screenshots/chat.png",
            "sizes": "1280x720",
            "type": "image/png",
            "form_factor": "wide",
            "label": "ImBoy Web 聊天界面"
        }
    ],
    "shortcuts": [
        {
            "name": "新消息",
            "short_name": "消息",
            "description": "查看会话列表",
            "url": "/bottom_navigation?tab=0",
            "icons": [{ "src": "icons/Icon-192.png", "sizes": "192x192" }]
        },
        {
            "name": "联系人",
            "short_name": "联系人",
            "description": "查看联系人列表",
            "url": "/bottom_navigation?tab=1",
            "icons": [{ "src": "icons/Icon-192.png", "sizes": "192x192" }]
        }
    ],
    "share_target": {
        "action": "/share",
        "method": "POST",
        "enctype": "multipart/form-data",
        "params": {
            "title": "title",
            "text": "text",
            "url": "url",
            "files": [
                {
                    "name": "media",
                    "accept": ["image/*", "video/*", "audio/*"]
                }
            ]
        }
    }
}
