mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 14:35:00 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -16,7 +16,7 @@ export function resolveBundledHooksDir(): string | undefined {
|
||||
}
|
||||
|
||||
// npm: resolve `<packageRoot>/dist/hooks/bundled` relative to this module (compiled hooks).
|
||||
// This path works when installed via npm: node_modules/clawdbot/dist/hooks/bundled-dir.js
|
||||
// This path works when installed via npm: node_modules/moltbot/dist/hooks/bundled-dir.js
|
||||
try {
|
||||
const moduleDir = path.dirname(fileURLToPath(import.meta.url));
|
||||
const distBundled = path.join(moduleDir, "bundled");
|
||||
|
||||
Reference in New Issue
Block a user