-
-
Save olav-valle/56c9f63fd57c8f35a22b1a6314de41f9 to your computer and use it in GitHub Desktop.
Proton Launch Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Application path | |
APP_PATH="$(dirname "${BASH_SOURCE[0]}")" | |
cd "$APP_PATH" | |
# Executable file | |
APP_EXEC="$APP_PATH/.exe" | |
# Steam / IDs | |
export SteamAppId="" | |
export SteamGameId="" | |
# Steam / Client path | |
export STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam/steam" | |
# Steam / Apps path | |
STEAM_APPS_PATH="$STEAM_COMPAT_CLIENT_INSTALL_PATH/steamapps" | |
# Steam / Compat data path | |
export STEAM_COMPAT_DATA_PATH="$STEAM_APPS_PATH/compatdata/$SteamAppId" | |
# Proton / Path | |
PROTON_PATH="$STEAM_APPS_PATH/common/Proton 4.11" | |
# Proton / Executable script | |
PROTON_EXEC="$PROTON_PATH/proton" | |
python "$PROTON_EXEC" run "$APP_EXEC" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment