mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
fixed home/deck
This commit is contained in:
parent
7feb2b4fb7
commit
5909f884e7
@ -1117,7 +1117,7 @@ function install_humblegames {
|
|||||||
export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam
|
export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam
|
||||||
export STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/$appid
|
export STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/$appid
|
||||||
FIXED_SCHEME="\$(echo "\$1" | sed "s/?/\//")"
|
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
|
"$STEAM_RUNTIME" "$proton_dir/proton" run ~/.local/share/Steam/steamapps/compatdata/$appid/pfx/start-humble.cmd
|
||||||
EOF
|
EOF
|
||||||
chmod +x "${logged_in_home}/.local/share/Steam/steamapps/compatdata/$appid/pfx/handle-humble-scheme"
|
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"
|
steam_dir="${logged_in_home}/.local/share/Steam"
|
||||||
|
|
||||||
# Check if the loginusers.vdf file exists in either of the two directories
|
# 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
|
if [[ -f "${logged_in_home}/.steam/root/config/loginusers.vdf" ]]; then
|
||||||
file_path="${logged_in_home}/.steam/root/config/loginusers.vdf"
|
file_path="${logged_in_home}/.steam/root/config/loginusers.vdf"
|
||||||
else
|
else
|
||||||
file_path="/home/deck/.local/share/Steam/config/loginusers.vdf"
|
file_path="${logged_in_home}/.local/share/Steam/config/loginusers.vdf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Extract the block of text for the most recent user
|
# Extract the block of text for the most recent user
|
||||||
|
Loading…
Reference in New Issue
Block a user