fix: stabilize gateway startup and kernel i18n

This commit is contained in:
晴天
2026-05-22 15:38:56 +08:00
parent 7977608e5b
commit 76c4a56302
12 changed files with 65 additions and 23 deletions

View File

@@ -14,11 +14,7 @@ fn bound_cli_path() -> Option<std::path::PathBuf> {
return None;
}
let p = std::path::PathBuf::from(raw);
if p.exists() && !is_rejected_cli_path(&p.to_string_lossy()) {
Some(p)
} else {
None
}
crate::commands::config::resolve_openclaw_cli_input_path(&p)
}
fn apply_openclaw_dir_env(cmd: &mut std::process::Command) {