90 lines
1.9 KiB
JSON
90 lines
1.9 KiB
JSON
{
|
|
"name": "Mercedes-Benz MYP Platform",
|
|
"short_name": "MYP",
|
|
"description": "3D-Druck Management System",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"background_color": "#0f172a",
|
|
"theme_color": "#0f172a",
|
|
"orientation": "portrait-primary",
|
|
"scope": "/",
|
|
"lang": "de",
|
|
"categories": ["productivity", "business"],
|
|
"icons": [
|
|
{
|
|
"src": "icons/mercedes-logo.svg",
|
|
"sizes": "192x192",
|
|
"type": "image/svg+xml"
|
|
},
|
|
{
|
|
"src": "icons/mercedes-logo.svg",
|
|
"sizes": "512x512",
|
|
"type": "image/svg+xml"
|
|
},
|
|
{
|
|
"src": "icons/icon-144x144.png",
|
|
"sizes": "144x144",
|
|
"type": "image/png",
|
|
"purpose": "maskable any"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Dashboard",
|
|
"url": "/dashboard",
|
|
"description": "Übersicht anzeigen"
|
|
},
|
|
{
|
|
"name": "Drucker",
|
|
"url": "/printers",
|
|
"description": "Drucker verwalten"
|
|
},
|
|
{
|
|
"name": "Druckaufträge",
|
|
"url": "/jobs",
|
|
"description": "Druckaufträge verwalten"
|
|
}
|
|
],
|
|
"screenshots": [],
|
|
"prefer_related_applications": false,
|
|
"edge_side_panel": {
|
|
"preferred_width": 400
|
|
},
|
|
"launch_handler": {
|
|
"client_mode": "navigate-existing"
|
|
},
|
|
"protocol_handlers": [
|
|
{
|
|
"protocol": "web+myp",
|
|
"url": "/handle?url=%s"
|
|
}
|
|
],
|
|
"file_handlers": [
|
|
{
|
|
"action": "/jobs/upload",
|
|
"accept": {
|
|
"model/gcode": [".gcode", ".g"],
|
|
"model/stl": [".stl"],
|
|
"model/obj": [".obj"],
|
|
"model/3mf": [".3mf"]
|
|
}
|
|
}
|
|
],
|
|
"share_target": {
|
|
"action": "/jobs/share",
|
|
"method": "POST",
|
|
"enctype": "multipart/form-data",
|
|
"params": {
|
|
"title": "title",
|
|
"text": "text",
|
|
"url": "url",
|
|
"files": [
|
|
{
|
|
"name": "files",
|
|
"accept": ["model/gcode", "model/stl", "model/obj", "model/3mf"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"offline_enabled": true
|
|
} |