Skip to content

Commit

Permalink
fixed home/deck
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored Jul 3, 2024
1 parent 7feb2b4 commit 5909f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NonSteamLaunchers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5909f88

Please sign in to comment.