claude-prism/apps/desktop
delibae 12a79b0981 fix: static-link ICU on Linux and augment PATH for GUI-launched child processes
Three related environment issues are addressed:

1. Linux ICU version mismatch (#91):
   The Linux build used pkg-config to dynamically link against the host's
   ICU (libicuuc.so.70 on Ubuntu 22.04). Users on newer distros (e.g.
   Ubuntu 25.10 with ICU 76) get "cannot open shared object" errors.
   Switch to vcpkg static linking, mirroring the macOS fix (commit 9566956).

2. MCP servers fail on macOS GUI app (#87):
   macOS GUI apps inherit a minimal PATH (/usr/bin:/bin) that lacks
   /opt/homebrew/bin, so MCP server commands like `uv` silently fail.
   Prepend common tool directories (~/.local/bin, ~/.cargo/bin,
   /opt/homebrew/bin, NVM paths, etc.) to the child process PATH in
   create_command().

3. Existing NVM-installed Claude Code ignored (#90):
   find_claude_binary() relied on `which` which fails in GUI apps without
   NVM in PATH. Add NVM_BIN env var check and login shell fallback
   (`$SHELL -l -c "which claude"`) to discover claude through the user's
   actual shell configuration.

Closes #87, closes #90, closes #91

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 22:10:19 +09:00
..
public feat: Enhance Claude installation process and permissions handling 2026-03-06 19:23:41 +09:00
scripts chore: fix all lint and formatting issues (biome check) 2026-03-16 17:04:36 +09:00
src style: fix biome formatting 2026-03-17 02:42:03 +09:00
src-tauri fix: static-link ICU on Linux and augment PATH for GUI-launched child processes 2026-03-25 22:10:19 +09:00
.gitignore Refactor desktop application to integrate Claude chat functionality 2026-02-20 17:28:08 +09:00
CHANGELOG.md chore: version bump 2026-03-10 12:27:44 +00:00
index.html feat: add macOS app icon support and update project configuration 2026-02-22 03:24:34 +09:00
package.json chore: bump version to 1.0.9 2026-03-17 17:41:48 +09:00
postcss.config.mjs Enhance desktop application setup with new components and configurations 2026-02-20 15:27:06 +09:00
tsconfig.json Enhance desktop application setup with new components and configurations 2026-02-20 15:27:06 +09:00
vite.config.ts Refactor code structure for improved readability and maintainability 2026-02-24 23:02:57 +09:00
vitest.config.ts test: add test infrastructure with Vitest (frontend) and Rust unit tests 2026-03-02 15:08:22 +09:00