Merge pull request #2 from rezzafr33/main

Support multiple arguments.
This commit is contained in:
Thomas Crider 2024-01-23 22:16:51 -07:00 committed by GitHub
commit 2815802f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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