NonSteamLaunchers-On-Steam-.../humble-app/handle-humble-scheme

12 lines
441 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
set -e
export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam
2024-01-25 10:37:56 +01:00
export STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/$appid
FIXED_SCHEME="$(echo "$1" | sed "s/?/\//")"
2024-01-25 10:37:56 +01:00
echo $FIXED_SCHEME > /home/deck/.local/share/Steam/steamapps/compatdata/$appid/pfx/drive_c/.auth
2024-01-25 10:37:56 +01:00
~/.steam/steam/steamapps/common/Proton\ -\ Experimental/proton run ~/.local/share/Steam/steamapps/compatdata/$appid/pfx/start-humble.cmd