Update openclaw/install.sh

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Alex Newman
2026-02-12 12:36:28 -05:00
committed by GitHub
parent c099e8eb27
commit 9480ef06ab
+3 -2
View File
@@ -617,7 +617,8 @@ configure_memory_slot() {
if [[ ! -f "$config_file" ]]; then
# No config file exists — create one with the memory slot
info "Creating OpenClaw configuration with claude-mem memory slot..."
node -e "
info "Creating OpenClaw configuration with claude-mem memory slot..."
INSTALLER_CONFIG_FILE="$config_file" node -e "
const config = {
plugins: {
slots: { memory: 'claude-mem' },
@@ -632,7 +633,7 @@ configure_memory_slot() {
}
}
};
require('fs').writeFileSync('${config_file}', JSON.stringify(config, null, 2));
require('fs').writeFileSync(process.env.INSTALLER_CONFIG_FILE, JSON.stringify(config, null, 2));
"
success "Created ${config_file} with memory slot set to claude-mem"
return 0