More updates to yadoom launch.

This commit is contained in:
Storm Dragon 2024-12-26 12:22:35 -05:00
parent ee0e72fe6d
commit 8220cc8742

View File

@ -44,7 +44,7 @@ export doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
# Path to gzdoom or yadoom. # Path to gzdoom or yadoom.
if [[ -x "${BASH_SOURCE[0]%/*}/yadoom" ]]; then if [[ -x "${BASH_SOURCE[0]%/*}/yadoom" ]]; then
export gzdoom=$"${BASH_SOURCE[0]%/*}/yadoom" export gzdoom=$(readlink -f "${BASH_SOURCE[0]%/*}/yadoom")"
else else
export gzdoom="$(command -v gzdoom)" export gzdoom="$(command -v gzdoom)"
fi fi