mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
doorstop: Pass on any launch arguments
This commit is contained in:
1 parent
906a3aeeae
commit
1fd5c19e86
1 file changed
+2
-2
@@ -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}" "$@"
|
||||
Reference in new issue
Block a user