mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Add three home-screen shortcuts (Add measurement, Today, Medications) deep-linking into the app, each tagged `source=shortcut`. Add a 192×192 maskable icon alongside the existing 512 so adaptive launchers mask the right size instead of downscaling the 512 or clipping the un-masked 192 "any" icon on circular masks. No screenshots: the repo ships no real screenshot assets and fabricating them is worse than the richer-install-dialog gain.
59 lines
1.4 KiB
JSON
59 lines
1.4 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"],
|
|
"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&source=shortcut",
|
|
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "Today",
|
|
"short_name": "Today",
|
|
"url": "/?source=shortcut",
|
|
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "Medications",
|
|
"short_name": "Meds",
|
|
"url": "/medications?source=shortcut",
|
|
"icons": [{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
}
|
|
]
|
|
}
|