Przeglądaj źródła

desktop: bring back -i in sidecar arguments

shell configs like .zshrc don't get loaded without it
Brendan Allan 8 miesięcy temu
rodzic
commit
92ab4217c2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/desktop/src-tauri/src/cli.rs

+ 1 - 1
packages/desktop/src-tauri/src/cli.rs

@@ -320,7 +320,7 @@ pub fn spawn_command(
         };
 
         let mut cmd = Command::new(shell);
-        cmd.args(["-l", "-c", &line]);
+        cmd.args(["-il", "-c", &line]);
 
         for (key, value) in envs {
             cmd.env(key, value);