mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:43:44 +08:00
fix: typo
This commit is contained in:
parent
ac5fb1948a
commit
cfca837777
@ -112,7 +112,7 @@ impl CoreManager {
|
|||||||
log::debug!(target: "app", "try to set system dns");
|
log::debug!(target: "app", "try to set system dns");
|
||||||
if enable_tun {
|
if enable_tun {
|
||||||
let resource_dir = dirs::app_resources_dir()?;
|
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();
|
let script = script.to_string_lossy();
|
||||||
match (|| Command::new("bash").args([script]).output())() {
|
match (|| Command::new("bash").args([script]).output())() {
|
||||||
Ok(_) => return Ok(()),
|
Ok(_) => return Ok(()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user