chore: rm -m arg

This commit is contained in:
MystiPanda 2024-02-21 23:38:01 +08:00
parent 558f4d93ba
commit fee077bebd
No known key found for this signature in database
GPG Key ID: 47D0F0284DC57888

View File

@ -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],
};