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

Function browser_binary_path

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

Source from the content-addressed store, hash-verified

45}
46
47pub fn browser_binary_path() -> PathBuf {
48 let dir = browser_dir();
49 #[cfg(windows)]
50 {
51 dir.join("browser.exe")
52 }
53 #[cfg(not(windows))]
54 {
55 dir.join("browser")
56 }
57}
58
59fn host_binary_path() -> PathBuf {
60 let dir = browser_dir();

Callers 15

ensure_browser_sessionFunction · 0.85
is_setup_completeFunction · 0.85
ensure_browser_setupFunction · 0.85
download_browser_binaryFunction · 0.85
check_browser_pingFunction · 0.85
inspect_browser_statusFunction · 0.85
test_pathsFunction · 0.85

Calls 1

browser_dirFunction · 0.85