Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: should not use npx for openclaw run - cli

Louiscff92807011d
diff --git a/src-tauri/src/bin/jan-cli.rs b/src-tauri/src/bin/jan-cli.rs
index 39185d6ff..fe2a4c50f 100644
--- a/src-tauri/src/bin/jan-cli.rs
+++ b/src-tauri/src/bin/jan-cli.rs
@@ -1096,7 +1096,7 @@ async fn handle_launch(
}
eprintln!();
let launch_cmd = if is_openclaw {
- format!("npx openclaw {}", program_args.join(" "))
+ format!("openclaw {}", program_args.join(" "))
} else {
format!("{} {}", program, program_args.join(" "))
};