mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Enable system assets on more Unices
This commit is contained in:
@ -296,7 +296,7 @@ lazy_static! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// System paths
|
// 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") {
|
if let Ok(result) = std::env::var("XDG_DATA_HOME") {
|
||||||
paths.push(format!("{}/veloren/assets", result).into());
|
paths.push(format!("{}/veloren/assets", result).into());
|
||||||
|
Reference in New Issue
Block a user