NonSteamLaunchers-On-Steam-.../humble-app/handle-humble-scheme
2024-01-25 01:37:56 -08:00

12 lines
441 B
Bash

#!/usr/bin/env sh
set -e
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
~/.steam/steam/steamapps/common/Proton\ -\ Experimental/proton run ~/.local/share/Steam/steamapps/compatdata/$appid/pfx/start-humble.cmd