mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
run_bepinex*.sh: use exec when relaunching self
This commit is contained in:
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user