From f6f062bcd6eca01c862a166fa0de6e0a1b2f7361 Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Sun, 28 Jan 2024 06:27:11 -0700 Subject: [PATCH] add PROTON_VERB option to allow choosing other proton verbs besides 'waitforexitandrun' --- gamelauncher.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gamelauncher.sh b/gamelauncher.sh index 59e4364..b602bb5 100755 --- a/gamelauncher.sh +++ b/gamelauncher.sh @@ -32,6 +32,10 @@ if [[ -z $STEAM_COMPAT_INSTALL_PATH ]]; then export STEAM_COMPAT_INSTALL_PATH="$gameinstallpath" fi +if [[ -z $PROTON_VERB ]]; then + export PROTON_VERB="waitforexitandrun" +fi + export STEAM_COMPAT_CLIENT_INSTALL_PATH='' export STEAM_COMPAT_DATA_PATH="$WINEPREFIX" export STEAM_COMPAT_SHADER_PATH="$STEAM_COMPAT_DATA_PATH"/shadercache @@ -48,5 +52,5 @@ here="${me%/*}" export STEAM_COMPAT_TOOL_PATHS="$PROTONPATH:$here" export STEAM_COMPAT_MOUNTS="$PROTONPATH:$here" -$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton waitforexitandrun "$EXE" "$@" +$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton "$PROTON_VERB" "$EXE" "$@"