1
Fork 0

Okay, finally fix linux detection

This commit is contained in:
Joshua Goins 2022-10-11 21:30:25 -04:00
parent 2cfb3108ea
commit 82eb53fbef

View file

@ -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()