Skip to content

fix(desktop): drop in-window menu bar + surface real bootstrap errors#362

Merged
luokerenx4 merged 1 commit into
masterfrom
feat/desktop-dogfood-fixes
Jun 19, 2026
Merged

fix(desktop): drop in-window menu bar + surface real bootstrap errors#362
luokerenx4 merged 1 commit into
masterfrom
feat/desktop-dogfood-fixes

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

Two papercuts from dogfooding the packaged Windows build:

  • In-window menu bar: Electron's default File/Edit/View/Window/Help renders inside the window on Windows/Linux (never shows on macOS). Set a minimal menu on macOS (keeps copy/paste/select-all accelerators), none on Win/Linux.
  • Opaque bootstrap errors: a failed workspace bootstrap showed "exited with code unknown" (null exit code from a spawn failure) instead of the real reason already in result.stderr (e.g. the bash-not-found / install-Git-for-Windows hint). Now surfaces the stderr tail.

Test plan

  • npx tsc --noEmit clean, pnpm -F @traderalice/desktop typecheck clean
  • vitest run src/workspaces/workspace-creator green

Boundary touch

Desktop shell + a workspace error message only. No trading/auth/broker/migration logic.

🤖 Generated with Claude Code

…tstrap errors

Two papercuts found dogfooding the packaged Windows build:

- The default Electron File/Edit/View/Window/Help menu renders *inside* the
  window on Windows/Linux (it never shows on macOS, where menus live in the
  system bar) — meaningless clutter for a single-window web-UI app. Set a
  minimal menu on macOS (keeps copy/paste accelerators), none elsewhere.

- Workspace bootstrap failures showed 'exited with code unknown' (a null
  exit code from a spawn failure) instead of the actual reason, which was
  already sitting in result.stderr (e.g. the 'bash not found, install Git
  for Windows' hint). Surface the stderr tail in the message.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jun 19, 2026 9:05am

Request Review

@luokerenx4 luokerenx4 merged commit f9d959e into master Jun 19, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant