HarborForge.OpenclawPlugin: dev-2026-03-29 -> main #4
@@ -191,7 +191,7 @@ function installManagedMonitor(openclawPath) {
|
||||
mkdirSync(monitorDestDir, { recursive: true });
|
||||
try {
|
||||
exec(`git clone --branch ${shellEscape(options.monitorBranch)} ${shellEscape(monitorRepo)} ${shellEscape(tmpDir)}`, { silent: !options.verbose });
|
||||
exec(`go build -o ${shellEscape(binaryPath)} .`, { cwd: tmpDir, silent: !options.verbose });
|
||||
exec(`go build -o ${shellEscape(binaryPath)} ./cmd/harborforge-monitor`, { cwd: tmpDir, silent: !options.verbose });
|
||||
chmodSync(binaryPath, 0o755);
|
||||
logOk(`Managed monitor installed → ${binaryPath} (branch hint: ${options.monitorBranch})`);
|
||||
return binaryPath;
|
||||
|
||||
Reference in New Issue
Block a user