feat/refactor-and-pcguard #3

Merged
hzhang merged 3 commits from feat/refactor-and-pcguard into main 2026-03-08 21:32:53 +00:00
Showing only changes of commit c186eb24ec - Show all commits

View File

@@ -161,8 +161,9 @@ async function install() {
if (existsSync(destDir)) rmSync(destDir, { recursive: true, force: true });
copyDir(SRC_DIST_DIR, destDir);
// Copy openclaw.plugin.json
// Copy openclaw.plugin.json and package.json
copyFileSync(join(__dirname, 'plugin', 'openclaw.plugin.json'), join(destDir, 'openclaw.plugin.json'));
copyFileSync(join(__dirname, 'plugin', 'package.json'), join(destDir, 'package.json'));
logOk(`Plugin files → ${destDir}`);
// Install runtime deps into dest (express, ws)