feat: Claude Desktop personal/work profile launchers, claude:// dispatcher and handlers (Linux only)

This commit is contained in:
bcherb2 committed 2026-11-18 01:30:14 -05:00
1 parent b4d8701665
commit 9baaf78522
11 files changed
+172

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# PATH shim, injected only into the "work" Claude instance.
# Electron shells out to xdg-open (via PATH) to open the browser for
# sign-in. Recording the profile here is what lets the claude:// callback
# find its way back to the instance that actually started the login.
printf '%s' "work" > "$HOME/.config/claude-profile-target" 2>/dev/null
exec /usr/bin/xdg-open "$@"