File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# BepInEx start script
3
- #
3
+ #
4
4
# Run the script to start the game with BepInEx enabled
5
5
#
6
6
# There are two ways to use this script
@@ -65,8 +65,8 @@ corlib_dir="dotnet"
65
65
# Special case: program is launched via Steam
66
66
# In that case rerun the script via their bootstrapper to ensure Steam overlay works
67
67
if [ " $2 " = " SteamLaunch" ]; then
68
- steam=" $1 $2 $3 $4 $0 $5 "
69
- shift 5
68
+ steam=" $1 $2 $3 $4 $5 $6 $ 0 $7 "
69
+ shift 7
70
70
$steam " $@ "
71
71
exit
72
72
fi
@@ -135,7 +135,7 @@ abs_path() {
135
135
}
136
136
137
137
_readlink () {
138
- # relative links with readlink (without -f) do not preserve the path info
138
+ # relative links with readlink (without -f) do not preserve the path info
139
139
ab_path=" $( abs_path " $1 " ) "
140
140
link=" $( readlink " ${ab_path} " ) "
141
141
case $link in
@@ -148,8 +148,8 @@ _readlink() {
148
148
149
149
resolve_executable_path () {
150
150
e_path=" $( abs_path " $1 " ) "
151
-
152
- while [ -L " ${e_path} " ]; do
151
+
152
+ while [ -L " ${e_path} " ]; do
153
153
e_path=$( _readlink " ${e_path} " ) ;
154
154
done
155
155
echo " ${e_path} "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# BepInEx start script
3
- #
3
+ #
4
4
# Run the script to start the game with BepInEx enabled
5
5
#
6
6
# There are two ways to use this script
@@ -65,8 +65,8 @@ corlib_dir=""
65
65
# Special case: program is launched via Steam
66
66
# In that case rerun the script via their bootstrapper to ensure Steam overlay works
67
67
if [ " $2 " = " SteamLaunch" ]; then
68
- steam=" $1 $2 $3 $4 $0 $5 "
69
- shift 5
68
+ steam=" $1 $2 $3 $4 $5 $6 $ 0 $7 "
69
+ shift 7
70
70
$steam " $@ "
71
71
exit
72
72
fi
@@ -135,7 +135,7 @@ abs_path() {
135
135
}
136
136
137
137
_readlink () {
138
- # relative links with readlink (without -f) do not preserve the path info
138
+ # relative links with readlink (without -f) do not preserve the path info
139
139
ab_path=" $( abs_path " $1 " ) "
140
140
link=" $( readlink " ${ab_path} " ) "
141
141
case $link in
@@ -148,8 +148,8 @@ _readlink() {
148
148
149
149
resolve_executable_path () {
150
150
e_path=" $( abs_path " $1 " ) "
151
-
152
- while [ -L " ${e_path} " ]; do
151
+
152
+ while [ -L " ${e_path} " ]; do
153
153
e_path=$( _readlink " ${e_path} " ) ;
154
154
done
155
155
echo " ${e_path} "
You can’t perform that action at this time.
0 commit comments