Pass all arguments to ULGWL script and get rid of LAUNCHARGS

This commit is contained in:
Mathieu Comandon 2024-01-25 18:13:11 -08:00
parent 3725e8ef68
commit 44269b9c4d

View File

@ -41,7 +41,6 @@ export FONTCONFIG_PATH=''
export EXE="$1"
shift 1
export LAUNCHARGS="$@"
me="$(readlink -f "$0")"
here="${me%/*}"
@ -49,4 +48,5 @@ here="${me%/*}"
export STEAM_COMPAT_TOOL_PATHS="$PROTONPATH:$here"
export STEAM_COMPAT_MOUNTS="$PROTONPATH:$here"
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton waitforexitandrun "$EXE" "$1" "$2" "$3"
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton waitforexitandrun "$EXE" "$@"