refactor(config): drop obsolete legacy config aliases

This commit is contained in:
Peter Steinberger
2026-03-29 22:00:38 +01:00
parent d9274444b7
commit 63e5c3349e
12 changed files with 40 additions and 22 deletions

View File

@@ -2074,7 +2074,7 @@ run_bootstrap_onboarding_if_needed() {
fi
local config_path="${OPENCLAW_CONFIG_PATH:-$HOME/.openclaw/openclaw.json}"
if [[ -f "${config_path}" || -f "$HOME/.clawdbot/clawdbot.json" || -f "$HOME/.moltbot/moltbot.json" || -f "$HOME/.moldbot/moldbot.json" ]]; then
if [[ -f "${config_path}" || -f "$HOME/.clawdbot/clawdbot.json" ]]; then
return
fi
@@ -2492,7 +2492,7 @@ main() {
ui_info "Skipping onboard (requested); run openclaw onboard later"
else
local config_path="${OPENCLAW_CONFIG_PATH:-$HOME/.openclaw/openclaw.json}"
if [[ -f "${config_path}" || -f "$HOME/.clawdbot/clawdbot.json" || -f "$HOME/.moltbot/moltbot.json" || -f "$HOME/.moldbot/moldbot.json" ]]; then
if [[ -f "${config_path}" || -f "$HOME/.clawdbot/clawdbot.json" ]]; then
ui_info "Config already present; running doctor"
run_doctor
should_open_dashboard=true