From 82eb53fbef911cfe96301298ccec60433cfae39a Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 11 Oct 2022 21:30:25 -0400 Subject: [PATCH] Okay, finally fix linux detection --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()