From 5909f884e72015366679aeb21a0f2eb8526bf70f Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Tue, 2 Jul 2024 23:40:00 -0700 Subject: [PATCH] fixed home/deck --- NonSteamLaunchers.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 2753d1a..13894c5 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1117,7 +1117,7 @@ function install_humblegames { export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam export STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/$appid FIXED_SCHEME="\$(echo "\$1" | sed "s/?/\//")" - echo \$FIXED_SCHEME > /home/deck/.local/share/Steam/steamapps/compatdata/$appid/pfx/drive_c/.auth + echo \$FIXED_SCHEME > "${logged_in_home}/.local/share/Steam/steamapps/compatdata/$appid/pfx/drive_c/.auth "$STEAM_RUNTIME" "$proton_dir/proton" run ~/.local/share/Steam/steamapps/compatdata/$appid/pfx/start-humble.cmd EOF chmod +x "${logged_in_home}/.local/share/Steam/steamapps/compatdata/$appid/pfx/handle-humble-scheme" @@ -1647,11 +1647,11 @@ export PYTHONPATH="${download_dir}/lib/python${python_version}/site-packages/:$P steam_dir="${logged_in_home}/.local/share/Steam" # Check if the loginusers.vdf file exists in either of the two directories -if [[ -f "${logged_in_home}/.steam/root/config/loginusers.vdf" ]] || [[ -f "/home/deck/.local/share/Steam/config/loginusers.vdf" ]]; then +if [[ -f "${logged_in_home}/.steam/root/config/loginusers.vdf" ]] || [[ -f "${logged_in_home}/.local/share/Steam/config/loginusers.vdf" ]]; then if [[ -f "${logged_in_home}/.steam/root/config/loginusers.vdf" ]]; then file_path="${logged_in_home}/.steam/root/config/loginusers.vdf" else - file_path="/home/deck/.local/share/Steam/config/loginusers.vdf" + file_path="${logged_in_home}/.local/share/Steam/config/loginusers.vdf" fi # Extract the block of text for the most recent user