Explorar o código

fix: startup script blocking

MystiPanda hai 1 ano
pai
achega
9d741cdd63
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}"));