mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-20 21:00:29 +08:00
fix(desktop): start tauri shell commands from home directory (#22535)
This commit is contained in:
@@ -452,6 +452,7 @@ pub fn spawn_command(
|
||||
};
|
||||
|
||||
let mut cmd = Command::new(shell);
|
||||
cmd.current_dir(app.path().home_dir().unwrap());
|
||||
cmd.args(["-l", "-c", &line]);
|
||||
|
||||
for (key, value) in envs {
|
||||
|
||||
Reference in New Issue
Block a user