mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
The manifest is one static file for every account, so the Medications shortcut was offered with the module switched off and opened its "switched off" notice. Only shortcuts into pages no module can turn off remain: Add measurement and Today. The `source=shortcut` parameter goes too; nothing read it, and the measurements filter discarded it as an unknown data source. The install `id` keeps its `source=pwa`, which is an identity string only.
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"name": "HealthLog",
|
|
"short_name": "HealthLog",
|
|
"description": "Personal health tracking — weight, blood pressure, medications",
|
|
"id": "/?source=pwa",
|
|
"scope": "/",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"display_override": ["standalone", "minimal-ui"],
|
|
"categories": ["health", "medical", "lifestyle"],
|
|
"theme_color": "#282a36",
|
|
"background_color": "#282a36",
|
|
"icons": [
|
|
{
|
|
"src": "/logo-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/logo-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/logo-maskable-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "/logo-maskable-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Add measurement",
|
|
"short_name": "Add",
|
|
"url": "/measurements?add=WEIGHT",
|
|
"icons": [
|
|
{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }
|
|
]
|
|
},
|
|
{
|
|
"name": "Today",
|
|
"short_name": "Today",
|
|
"url": "/",
|
|
"icons": [
|
|
{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }
|
|
]
|
|
}
|
|
]
|
|
}
|