diff --git a/Cargo.lock b/Cargo.lock index 5092bd1..1a28b59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -437,7 +437,7 @@ checksum = "f4dd6dc7df2d84cf7b33822ed5b86318fb1781948e9663bacd047fc9dd52259d" [[package]] name = "wsl2-dns-agent" -version = "0.3.2" +version = "0.3.3" dependencies = [ "chrono", "configparser", diff --git a/Cargo.toml b/Cargo.toml index e9c88f8..07cc807 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wsl2-dns-agent" -version = "0.3.2" +version = "0.3.3" edition = "2021" license = "GPL-3.0" description = "An agent that automatically patches your WSL2 DNS configuration for users of Cisco AnyConnect (or similar VPNs)" diff --git a/src/config.rs b/src/config.rs index d82d7b4..44029b1 100644 --- a/src/config.rs +++ b/src/config.rs @@ -4,7 +4,12 @@ use std::collections::HashMap; use std::fs; use std::path::PathBuf; -const EXCLUDE_BY_DEFAULT: &[&str] = &["docker-desktop", "docker-desktop-data"]; +const EXCLUDE_BY_DEFAULT: &[&str] = &[ + "docker-desktop", + "docker-desktop-data", + "rancher-desktop", + "rancher-desktop-data", +]; #[derive(Debug, Deserialize, Serialize)] pub struct Config {