mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-30 10:42:09 +08:00
fix: limit mihomo yaml wildcard quoting to fake-ip-filter
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
use crate::constants::files::DNS_CONFIG;
|
||||
use crate::utils::yaml_emitter;
|
||||
use crate::{config::Config, process::AsyncHandler, utils::dirs};
|
||||
use anyhow::Error;
|
||||
use arc_swap::{ArcSwap, ArcSwapOption};
|
||||
@@ -288,7 +287,7 @@ pub async fn create_backup() -> Result<(String, PathBuf), Error> {
|
||||
obj.remove("webdav_url");
|
||||
}
|
||||
zip.start_file(dirs::VERGE_CONFIG, options)?;
|
||||
zip.write_all(yaml_emitter::to_mihomo_config_string(&verge_config)?.as_bytes())?;
|
||||
zip.write_all(serde_yaml_ng::to_string(&verge_config)?.as_bytes())?;
|
||||
|
||||
let dns_config_path = dirs::app_home_dir()?.join(DNS_CONFIG);
|
||||
if dns_config_path.exists() {
|
||||
|
||||
Reference in New Issue
Block a user