diff --git a/src/main.rs b/src/main.rs index 7e8c7a8..c5484cd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,7 @@ fn launch_hydrus(config: &Config) { let mut hydrus = Command::new(&config.hydrus_exec_location); let hydrus = hydrus.args(["-d", &config.hydrus_db_location]); - if cfg!(linux) { + if cfg!(target_os = "linux") { hydrus .env("QT_QPA_PLATFORM", "xcb") .status()