#!/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