From 79dd327fbd4977c5941625f55e467d9f9dbe2283 Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Sun, 28 Jan 2024 18:24:36 -0700 Subject: [PATCH] add support for STEAM_COMPAT_LIBRARY_PATH (really for real this time) --- gamelauncher.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gamelauncher.sh b/gamelauncher.sh index f98859e..d74f743 100755 --- a/gamelauncher.sh +++ b/gamelauncher.sh @@ -32,7 +32,8 @@ if [[ -z $STEAM_COMPAT_INSTALL_PATH ]]; then export STEAM_COMPAT_INSTALL_PATH="$gameinstallpath" fi -export STEAM_COMPAT_LIBRARY_PATH="" +compat_lib_path=$(findmnt -T $STEAM_COMPAT_INSTALL_PATH | tail -n 1 | awk '{ print $1 }') +export STEAM_COMPAT_LIBRARY_PATH="$compat_lib_path" if [[ -z $STEAM_RUNTIME_LIBRARY_PATH ]]; then # The following info taken from steam ~/.local/share/ubuntu12_32/steam-runtime/run.sh