Skip to content

Commit 394bf16

Browse files
Albro3459juliusmarminge
authored andcommitted
fix(web): omit manifest name so the channel label is not hardcoded
APP_DISPLAY_NAME resolves per channel ("T3 Code (Nightly)", "(Alpha)", "(Dev)") from the hosted channel or the desktop bridge, and DocumentTitleSync keeps document.title in sync with it at runtime. A static name/short_name in public/ cannot follow that, so a nightly install would show the production label next to nightly-branded icons. Making the manifest channel-aware would require generating it at build time, since Vite does not template files in public/. name and short_name are optional, so omitting them lets the Home Screen label fall back to document.title, which is already correct per channel.
1 parent 00856e0 commit 394bf16

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎apps/web/public/manifest.webmanifest‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"id": "/",
3-
"name": "T3 Code",
4-
"short_name": "T3 Code",
53
"start_url": "/",
64
"scope": "/",
75
"display": "standalone",

0 commit comments

Comments
 (0)