refactor(macos): bundle single relay binary

This commit is contained in:
Peter Steinberger
2025-12-20 19:35:29 +00:00
parent 8421ef7b4a
commit 405ff0377a
7 changed files with 81 additions and 29 deletions

View File

@@ -55,7 +55,7 @@ function candidateBinDirs(opts: EnsureClawdisPathOpts): string[] {
const candidates: string[] = [];
// Bun bundled (macOS app): `clawdis` is shipped next to `clawdis-gateway`.
// Bun bundled (macOS app): `clawdis` lives in the Relay dir (process.execPath).
try {
const execDir = path.dirname(execPath);
const siblingClawdis = path.join(execDir, "clawdis");