fix: typo

This commit is contained in:
MystiPanda 2024-03-11 22:05:56 +08:00
parent ac5fb1948a
commit cfca837777

View File

@ -112,7 +112,7 @@ impl CoreManager {
log::debug!(target: "app", "try to set system dns");
if enable_tun {
let resource_dir = dirs::app_resources_dir()?;
let script = resource_dir.join("unset_dns.sh");
let script = resource_dir.join("set_dns.sh");
let script = script.to_string_lossy();
match (|| Command::new("bash").args([script]).output())() {
Ok(_) => return Ok(()),