From 1178e27b063a7b537d58d5413e74ad6d165d6eb0 Mon Sep 17 00:00:00 2001 From: lefarcen <935902669@qq.com> Date: Fri, 29 May 2026 15:42:32 +0800 Subject: [PATCH] feat(desktop): add Contact/Report/Discord links to Help menu The desktop Help menu only exposed a repo link and Export Diagnostics. The web entry rail already gives users one-click access to docs, issues, and Discord; the packaged desktop app had no equivalent, so users in the standalone client had no in-app path to report a bug or reach the community. Expand the Help submenu to mirror those affordances: Documentation, Contact Us, Report Issue, and Join Discord, all opening the canonical URLs already used by the web help menu and README. Tag the submenu role: "help" so macOS treats it as the standard Help menu. --- apps/desktop/src/main/index.ts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.ts index f8f54fedc..b4579d904 100644 --- a/apps/desktop/src/main/index.ts +++ b/apps/desktop/src/main/index.ts @@ -236,11 +236,31 @@ function installDesktopMenu( }, { label: "Help", + role: "help", submenu: [ { - label: "Open Design", + label: "Documentation", click() { - void shell.openExternal("https://github.com/nexu-io/open-design"); + void shell.openExternal("https://github.com/nexu-io/open-design#readme"); + }, + }, + { type: "separator" }, + { + label: "Contact Us", + click() { + void shell.openExternal("https://x.com/nexudotio"); + }, + }, + { + label: "Report Issue", + click() { + void shell.openExternal("https://github.com/nexu-io/open-design/issues/new"); + }, + }, + { + label: "Join Discord", + click() { + void shell.openExternal("https://discord.gg/mHAjSMV6gz"); }, }, { type: "separator" },