Fixed linux builds.
This commit is contained in:
@@ -146,6 +146,7 @@ fn main() {
|
|||||||
#[cfg(not(feature = "webgui"))]
|
#[cfg(not(feature = "webgui"))]
|
||||||
let no_gui = true;
|
let no_gui = true;
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
if opt_matches.opt_present("service") {
|
if opt_matches.opt_present("service") {
|
||||||
let appdata = env::var("PROGRAMDATA").expect("Failed to get APPDATA directory");
|
let appdata = env::var("PROGRAMDATA").expect("Failed to get APPDATA directory");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user