File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 55# Running a game with Doorstop allows to execute arbitary .NET assemblies before Unity is initialized.
66#
77# Usage: Configure the script below and simply run this script when you want to run your game modded.
8- # DO NOT EDIT THIS:
98
9+ doorstop_libname=" doorstop.so"
1010doorstop_dir=$PWD
1111case " $( uname -s) " in
12- Linux* ) export LD_PRELOAD=" $doorstop_dir /doorstop.so" ;;
13- Darwin* ) export DYLD_INSERT_LIBRARIES=" $doorstop_dir /doorstop.dyld" ;;
12+ Linux* ) export LD_LIBRARY_PATH=${doorstop_dir} :${LD_LIBRARY_PATH} ;
13+ export LD_PRELOAD=$doorstop_libname ;;
14+ Darwin* ) export DYLD_LIBRARY_PATH=${doorstop_dir} :${DYLD_LIBRARY_PATH} ;
15+ export DYLD_INSERT_LIBRARIES=$doorstop_libname ;;
1416 * ) echo " Invalid OS" ; exit ;;
1517esac
1618
You can’t perform that action at this time.
0 commit comments