Append /usr/share to XDG_DATA_DIRS
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled

Fixes issues with Vulkan drivers on non-FHS compilant Linux distros (for example, on NixOS).

#199
This commit is contained in:
Kron4ek 2024-11-03 21:34:16 +03:00 committed by GitHub
parent 78082b1efe
commit 8e63d031e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ if (( EUID == 0 )) && [ -z "$ALLOW_ROOT" ]; then
fi
# Conty version
script_version="1.26.2"
script_version="1.26.3"
# Important variables to manually adjust after modification!
# Needed to avoid problems with mounting due to an incorrect offset.
@ -832,6 +832,7 @@ run_bwrap () {
"${unshare_net[@]}" \
"${set_vars[@]}" \
--setenv PATH "${CUSTOM_PATH}" \
--setenv XDG_DATA_DIRS "/usr/local/share:/usr/share:${XDG_DATA_DIRS}" \
"${command_line[@]}"
}