Support multiple arguments.

This commit is contained in:
Mochamad Taufan Rezzafri 2024-01-24 10:45:06 +07:00
parent 062ff6798b
commit 19e3aad136

View File

@ -29,7 +29,8 @@ export PROTON_CRASH_REPORT_DIR='/tmp/ULWGL_crashreports'
export FONTCONFIG_PATH=''
export EXE="$2"
export LAUNCHARGS="$3"
shift 2
export LAUNCHARGS="$@"
me="$(readlink -f "$0")"
here="${me%/*}"
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton waitforexitandrun "$EXE" "$LAUNCHARGS"
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton waitforexitandrun "$EXE" $LAUNCHARGS