diff --git a/apps/desktop/src/electron-main.ts b/apps/desktop/src/electron-main.ts index 372c6fad24..e620016670 100644 --- a/apps/desktop/src/electron-main.ts +++ b/apps/desktop/src/electron-main.ts @@ -310,6 +310,14 @@ app.on("ready", async () => { return; } + // Drive the native "About" panel from the configured brand so it shows + // "HealthChat" rather than the upstream Electron/bundle default. + const brand = global.vectorConfig.brand || "Element"; + app.setAboutPanelOptions({ + applicationName: brand, + applicationVersion: app.getVersion(), + }); + if (argv["devtools"]) { try { const { installExtension, REACT_DEVELOPER_TOOLS } = await import("electron-devtools-installer"); diff --git a/apps/desktop/src/vectormenu.ts b/apps/desktop/src/vectormenu.ts index d5bab05ed5..6d264571c2 100644 --- a/apps/desktop/src/vectormenu.ts +++ b/apps/desktop/src/vectormenu.ts @@ -141,14 +141,16 @@ export function buildMenuTemplate(): Menu { // macOS has specific menu conventions... if (isMac) { + // XXX: vectorConfig won't have defaults applied to it so we need to duplicate them here + const brand = global.vectorConfig?.brand || app.name; template.unshift({ // first macOS menu is the name of the app role: "appMenu", - label: app.name, + label: brand, submenu: [ { role: "about", - label: _t("common|about") + " " + app.name, + label: _t("common|about") + " " + brand, }, { type: "separator" }, {