Skip to content

Commit 001abf1

Browse files
authored
Merge pull request #155 from ResoniteModdingGroup/nytra/linuxLaunchArg
Check for `--hookfxr-disable` in Linux bootstrap script
2 parents af1be5e + 0bae954 commit 001abf1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env sh
22

3-
sed -i '0,/dotnet Renderite.Host.dll "$@"/s//dotnet MonkeyLoaderWrapper.Linux.dll "$@"/' ./LinuxBootstrap.sh
3+
sed -i '/^ # ~ Launch Resonite! :) ~$/c\
4+
if [[ "$*" != *"--hookfxr-disable"* ]]; then\
5+
dotnet MonkeyLoaderWrapper.Linux.dll "$@"\
6+
exit 0\
7+
fi' ./LinuxBootstrap.sh
48
"$@"

0 commit comments

Comments
 (0)