From 09406d40e27a07b8724ee2c0581ee6220ce47fa7 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 3 Aug 2018 22:04:58 +1000 Subject: [PATCH] Only import nfd resources on Windows --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 4ea272b..00ceeb9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,9 @@ use config::Config; use installer::InstallerFramework; +#[cfg(windows)] use nfd::Response; + use rest::WebServer; // TODO: Fetch this over a HTTP request?