mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 19:18:37 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -29,7 +29,7 @@ async function resolveCliEntrypointPathForService(): Promise<string> {
|
||||
await fs.access(resolvedPath);
|
||||
// Prefer the original (possibly symlinked) path over the resolved realpath.
|
||||
// This keeps LaunchAgent/systemd paths stable across package version updates,
|
||||
// since symlinks like node_modules/clawdbot -> .pnpm/clawdbot@X.Y.Z/...
|
||||
// since symlinks like node_modules/moltbot -> .pnpm/moltbot@X.Y.Z/...
|
||||
// are automatically updated by pnpm, while the resolved path contains
|
||||
// version-specific directories that break after updates.
|
||||
const normalizedLooksLikeDist = /[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized);
|
||||
|
||||
Reference in New Issue
Block a user