diff --git a/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh b/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh index db8a66b..037e7a9 100644 --- a/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh +++ b/Runtimes/Unity/Doorstop/run_bepinex_il2cpp.sh @@ -67,8 +67,7 @@ corlib_dir="dotnet" if [ "$2" = "SteamLaunch" ]; then steam="$1 $2 $3 $4 $5 $6 $0 $7" shift 7 - $steam "$@" - exit + exec $steam "$@" fi # Handle first param being executable name diff --git a/Runtimes/Unity/Doorstop/run_bepinex_mono.sh b/Runtimes/Unity/Doorstop/run_bepinex_mono.sh index 7a1846a..c28e599 100644 --- a/Runtimes/Unity/Doorstop/run_bepinex_mono.sh +++ b/Runtimes/Unity/Doorstop/run_bepinex_mono.sh @@ -67,8 +67,7 @@ corlib_dir="" if [ "$2" = "SteamLaunch" ]; then steam="$1 $2 $3 $4 $5 $6 $0 $7" shift 7 - $steam "$@" - exit + exec $steam "$@" fi # Handle first param being executable name