Okay, finally fix linux detection
This commit is contained in:
parent
2cfb3108ea
commit
82eb53fbef
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ fn launch_hydrus(config: &Config) {
|
||||||
let mut hydrus = Command::new(&config.hydrus_exec_location);
|
let mut hydrus = Command::new(&config.hydrus_exec_location);
|
||||||
let hydrus = hydrus.args(["-d", &config.hydrus_db_location]);
|
let hydrus = hydrus.args(["-d", &config.hydrus_db_location]);
|
||||||
|
|
||||||
if cfg!(linux) {
|
if cfg!(target_os = "linux") {
|
||||||
hydrus
|
hydrus
|
||||||
.env("QT_QPA_PLATFORM", "xcb")
|
.env("QT_QPA_PLATFORM", "xcb")
|
||||||
.status()
|
.status()
|
||||||
|
|
Reference in a new issue