Chrome Android forces the root URL into PWA installation when required manifest icon files exist. PWA names come from the manifest and cannot be edited, which breaks workflows using multiple tracker copies. Keep required 192/512 icon assets intentionally unavailable by committing generated files with .png-not suffixes. Removing the manifest link does not restore root shortcut naming; Chrome still installs the root as a PWA. Chrome handles /display differently: even with a working manifest it offers Install app or Create shortcut, and Create shortcut permits renaming. Keep both manifests intentionally non-installable for consistent user-controlled shortcut names. Also add separate player-display favicon/logo artwork and swap /display browser favicon to player-favicon.ico. Keep generated standard/player logo sources under renamed inert filenames.
26 lines
760 B
JSON
26 lines
760 B
JSON
{
|
|
"id": "/",
|
|
"short_name": "TTRPG Tracker",
|
|
"name": "TTRPG Initiative Tracker",
|
|
"icons": [
|
|
{
|
|
"src": "favicon.ico",
|
|
"sizes": "64x64 32x32 24x24 16x16",
|
|
"type": "image/x-icon"
|
|
},
|
|
{
|
|
"src": "logo192.png",
|
|
"note": "this image intentionally missing from filesystem - keeping manfiest and having broken icon allows android to _shortcut_ which user can control name of.",
|
|
"type": "image/png",
|
|
"sizes": "192x192"
|
|
}
|
|
],
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"note:" "none of the display stuff actually works, even when it properly installs a pwa (which user cant control name of...)",
|
|
"display": "fullscreen",
|
|
"orientation": "portrait",
|
|
"theme_color": "#2D3748",
|
|
"background_color": "#1A202C"
|
|
}
|