fix(pwa): resolve manifest warnings for cleaner PWA install experience
CI / Build & Test (push) Successful in 2m52s
CI / Build & Test (push) Successful in 2m52s
- Fix icon purpose from "any maskable" to "any" to avoid incorrect padding on some platforms - Add explicit id field matching start_url to stabilise the App ID - Add display_override with window-controls-overlay for native title bar - Register web+holesail:// protocol handler so installed app can be launched directly from custom protocol links
This commit is contained in:
@@ -1,11 +1,19 @@
|
|||||||
{
|
{
|
||||||
|
"id": "/dashboard/dashboard.html",
|
||||||
"name": "Holesail Browser",
|
"name": "Holesail Browser",
|
||||||
"short_name": "Holesail",
|
"short_name": "Holesail",
|
||||||
"description": "P2P Holesail tunnels in the browser",
|
"description": "P2P Holesail tunnels in the browser",
|
||||||
"start_url": "dashboard.html",
|
"start_url": "dashboard.html",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
|
"display_override": ["window-controls-overlay", "standalone"],
|
||||||
"background_color": "#0f1117",
|
"background_color": "#0f1117",
|
||||||
"theme_color": "#0f1117",
|
"theme_color": "#0f1117",
|
||||||
|
"protocol_handlers": [
|
||||||
|
{
|
||||||
|
"protocol": "web+holesail",
|
||||||
|
"url": "dashboard.html?lookup=%s"
|
||||||
|
}
|
||||||
|
],
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
{
|
{
|
||||||
"src": "screenshots/wide.png",
|
"src": "screenshots/wide.png",
|
||||||
@@ -23,9 +31,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icons": [
|
"icons": [
|
||||||
{ "src": "../icons/48.png", "sizes": "48x48", "type": "image/png" },
|
{ "src": "../icons/48.png", "sizes": "48x48", "type": "image/png", "purpose": "any" },
|
||||||
{ "src": "../icons/128.png", "sizes": "128x128", "type": "image/png" },
|
{ "src": "../icons/128.png", "sizes": "128x128", "type": "image/png", "purpose": "any" },
|
||||||
{ "src": "../icons/192.png", "sizes": "192x192", "type": "image/png" },
|
{ "src": "../icons/192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
|
||||||
{ "src": "../icons/512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
|
{ "src": "../icons/512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user