@setoelkahfi / svara / commits / f0e17d3

Fixed shell not opening in ubuntu

mellobacon committed Oct 7, 2022 at 00:54 UTC f0e17d363329026e65a2b6bf93e0642ba57e69ac
1 file changed +2 -2
src-tauri/src/main.rs
+2 -2
@@ -35,8 +35,8 @@ fn open_terminal(path: &str) {
35 .unwrap();
36 }
37 else {
38 - Command::new("sh")
39 - .args(["gnome-terminal", format!("--working-directory={}", path).as_str()])
38 + Command::new("gnome-terminal")
39 + .arg(format!("--working-directory={}", path).as_str())
40 .spawn()
41 .unwrap();
42 }