Ver Fonte

chore: rm -m arg

MystiPanda há 1 ano atrás
pai
commit
fee077bebd
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      src-tauri/src/core/core.rs

+ 2 - 3
src-tauri/src/core/core.rs

@@ -144,10 +144,9 @@ impl CoreManager {
 
         let config_path = dirs::path_to_str(&config_path)?;
 
-        // fix #212
         let args = match clash_core.as_str() {
-            "clash-meta" => vec!["-m", "-d", app_dir, "-f", config_path],
-            "clash-meta-alpha" => vec!["-m", "-d", app_dir, "-f", config_path],
+            "clash-meta" => vec!["-d", app_dir, "-f", config_path],
+            "clash-meta-alpha" => vec!["-d", app_dir, "-f", config_path],
             _ => vec!["-d", app_dir, "-f", config_path],
         };