doorstop: Pass on any launch arguments

This commit is contained in:
Tatsuyuki Ishi committed 2021-12-07 22:11:21 +09:00
1 parent 906a3aeeae
commit 1fd5c19e86
1 file changed
+2 -2
+2 -2
View File
@@ -32,7 +32,7 @@ export DOORSTOP_CORLIB_OVERRIDE_PATH=""
# Special case: program is launched via Steam
# In that case rerun the script via their bootstrapper to ensure Steam overlay works
if [ "$2" = "SteamLaunch" ]; then
"$1" "$2" "$3" "$4" "$0" "$5"
"$1" "$2" "$3" "$4" "$0" "$5" "${@:6}"
exit
fi
@@ -142,4 +142,4 @@ export LD_PRELOAD=$doorstop_libname:$LD_PRELOAD
export DYLD_LIBRARY_PATH="${doorstop_libs}"
export DYLD_INSERT_LIBRARIES="${doorstop_libs}/$doorstop_libname"
"${executable_path}"
"${executable_path}" "$@"