MCPcopy Create free account
hub / github.com/1jehuang/jcode / host_binary_path

Function host_binary_path

crates/jcode-base/src/browser.rs:59–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59fn host_binary_path() -> PathBuf {
60 let dir = browser_dir();
61 #[cfg(windows)]
62 {
63 dir.join("firefox-agent-bridge-host.exe")
64 }
65 #[cfg(not(windows))]
66 {
67 dir.join("firefox-agent-bridge-host")
68 }
69}
70
71fn xpi_path() -> PathBuf {
72 browser_dir().join("browser-agent-bridge.xpi")

Callers 5

is_setup_completeFunction · 0.85
ensure_browser_setupFunction · 0.85
download_browser_binaryFunction · 0.85

Calls 1

browser_dirFunction · 0.85