From 709125752f0a51259eb7b58dbf4cf86f3c882852 Mon Sep 17 00:00:00 2001 From: Revertron Date: Wed, 4 Oct 2023 00:54:08 +0200 Subject: [PATCH] Fixed linux builds. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index da0c3e1..d478c96 100644 --- a/src/main.rs +++ b/src/main.rs @@ -146,6 +146,7 @@ fn main() { #[cfg(not(feature = "webgui"))] let no_gui = true; + #[cfg(windows)] if opt_matches.opt_present("service") { let appdata = env::var("PROGRAMDATA").expect("Failed to get APPDATA directory");