mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-17 16:12:21 -06:00
8 lines
316 B
JavaScript
8 lines
316 B
JavaScript
// Mutates display metadata for config reload E2E scenarios.
|
|
import fs from "node:fs";
|
|
|
|
const configPath = process.env.OPENCLAW_CONFIG_PATH;
|
|
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));
|
|
config.ui.seamColor = "#ff6600";
|
|
fs.writeFileSync(configPath, `${JSON.stringify(config, null, 2)}\n`, "utf8");
|