Enable system assets on more Unices

This commit is contained in:
Jan Beich 2020-05-18 15:53:50 +00:00
parent bb85dab281
commit 886cad9103

View File

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