From b3fa399a824712bb9d114276e76315eb1b028e1c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 18 May 2020 15:53:50 +0000 Subject: [PATCH] Enable system assets on more Unices --- common/src/assets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/assets/mod.rs b/common/src/assets/mod.rs index 58e20d903f..1aff030e79 100644 --- a/common/src/assets/mod.rs +++ b/common/src/assets/mod.rs @@ -296,7 +296,7 @@ lazy_static! { } // System paths - #[cfg(target_os = "linux")] + #[cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))] { if let Ok(result) = std::env::var("XDG_DATA_HOME") { paths.push(format!("{}/veloren/assets", result).into());