Skip to content

Commit b864550

Browse files
committed
fix: update command in get_system_path to echo system PATH
1 parent 36fc3c0 commit b864550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub async fn get_system_path() -> String {
3434
const DEF_PATH: &str = "/opt/homebrew/bin:/usr/local/bin:/usr/bin";
3535
tokio::process::Command::new("sh")
3636
.arg("-c")
37-
.arg("echo hello")
37+
.arg("echo $PATH")
3838
.output()
3939
.await
4040
.map(|output| output.stdout)

0 commit comments

Comments
 (0)