mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 22:55:24 +00:00
refactor(config): drop obsolete legacy config aliases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user