Selaa lähdekoodia

fix: startup script blocking

MystiPanda 1 vuosi sitten
vanhempi
commit
9d741cdd63
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src-tauri/src/utils/init.rs

+ 1 - 1
src-tauri/src/utils/init.rs

@@ -304,7 +304,7 @@ pub fn startup_script() -> Result<()> {
             shell = "powershell";
         }
         if path.ends_with(".bat") {
-            shell = "cmd";
+            shell = "powershell";
         }
         if shell.is_empty() {
             return Err(anyhow::anyhow!("unsupported script: {path}"));