Skip to content

Commit

Permalink
Switch directory to the game' base dir for Linux and when auto-detect…
Browse files Browse the repository at this point in the history
…ing executable.
  • Loading branch information
CptMoore committed Dec 2, 2024
1 parent 4ce47ce commit b4b92fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ModTek.Preloader/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ case ${os_type} in
if [ -z "${executable_path:-}" ]
then
executable_path="${BASEDIR}/${executable_name}"
cd "${BASEDIR}"
fi

#Fix for Mono error On Ubuntu 22.04 LTS and probably others 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
Expand Down

0 comments on commit b4b92fd

Please sign in to comment.