Last active
June 12, 2025 09:55
-
-
Save smo0z/620d9d98e27dbba01345a5b21948f545 to your computer and use it in GitHub Desktop.
Proton Launch Script
This file contains hidden or 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
Thanks! I've struggled with running
winecfg.exe
, this makes it a breeze!