Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: runtime bun
Louisaacaa3293317
diff --git a/src-tauri/src/core/openclaw/commands.rs b/src-tauri/src/core/openclaw/commands.rsindex d6e9bfe03..bc2f87180 100644--- a/src-tauri/src/core/openclaw/commands.rs+++ b/src-tauri/src/core/openclaw/commands.rs@@ -709,11 +709,7 @@ async fn restart_gateway_cli() -> Result<(), String> {// Re-register service with --runtime bun when bundled Bun is available.// On Windows this requires admin (schtasks) and may fail.- let install_args: Vec<&str> = if super::resolve_bundled_bun().is_some() {- vec!["gateway", "install", "--runtime", "bun"]- } else {- vec!["gateway", "install"]- };+ let install_args: Vec<&str> = vec!["gateway", "install"];let install_output = openclaw_command(&install_args).await.stdout(Stdio::piped()).stderr(Stdio::piped())@@ -3924,7 +3920,7 @@ pub async fn whatsapp_check_auth() -> Result<WhatsAppAuthStatus, String> {err.contains("restart required") ||err.contains("Stream Errored") ||err.contains("not linked") ||- err.contains("not configured");+ err.contains("not configured");if !is_transient && !linked {return Ok(WhatsAppAuthStatus {diff --git a/src-tauri/src/core/openclaw/sandbox_direct.rs b/src-tauri/src/core/openclaw/sandbox_direct.rsindex 5e2d981b8..7b8563627 100644--- a/src-tauri/src/core/openclaw/sandbox_direct.rs+++ b/src-tauri/src/core/openclaw/sandbox_direct.rs@@ -121,11 +121,7 @@ impl Sandbox for DirectProcessSandbox {let use_child_process = if cfg!(target_os = "windows") {true} else {- let install_args = if super::resolve_bundled_bun().is_some() {- vec!["gateway", "install", "--runtime", "bun"]- } else {- vec!["gateway", "install"]- };+ let install_args = vec!["gateway", "install"];let mut install_cmd = build_openclaw_command(&install_args.iter().map(|s| *s).collect::<Vec<_>>(), &config.config_dir);match install_cmd.output().await {Ok(output) if output.status.success() => false,