run_bepinex*.sh: use exec when relaunching self

This commit is contained in:
Oleg Oshmyan authored and ManlyMarco committed 2024-02-09 19:52:51 +01:00
1 parent 910844a982
commit c82fc4e686
2 files changed
+2 -4

No files matched your search

@@ -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
+1 -2
View File
@@ -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