summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/lib.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs
index 9b1854d4a3..e8edcbcafa 100644
--- a/mullvad-daemon/src/lib.rs
+++ b/mullvad-daemon/src/lib.rs
@@ -564,8 +564,6 @@ where
tunnel_state_machine_shutdown_tx,
#[cfg(target_os = "android")]
android_context,
- #[cfg(windows)]
- Self::get_approved_applications(),
)
.map_err(Error::TunnelError)?;
@@ -636,16 +634,6 @@ where
Ok(daemon)
}
- #[cfg(windows)]
- fn get_approved_applications() -> Vec<PathBuf> {
- let resource_dir = mullvad_paths::get_resource_dir();
- vec![
- resource_dir.join("mullvad-daemon.exe"),
- resource_dir.join("openvpn.exe"),
- resource_dir.join("sslocal.exe"),
- ]
- }
-
/// Consume the `Daemon` and run the main event loop. Blocks until an error happens or a
/// shutdown event is received.
pub fn run(mut self) -> Result<(), Error> {