Last active
May 20, 2018 16:22
-
-
Save isair/366ca008f0915d4d125e3ae8f95851e5 to your computer and use it in GitHub Desktop.
Script for starting up the MBII launcher on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
MONO_HOME="/Library/Frameworks/Mono.framework" | |
MONO="$MONO_HOME/Versions/3.12.1/bin/mono" | |
if [ ! -d "$MONO_HOME" ]; then | |
echo "You don't have Mono installed. Please install version 3.12.1 from its official website." >&2 | |
exit 1 | |
fi | |
if [ ! -e "$MONO" ]; then | |
echo "You have the wrong version of Mono installed. Please install 3.12.1." >&2 | |
exit 1 | |
fi | |
"$MONO" "$HOME/Library/Application Support/Steam/steamapps/common/Jedi Academy/SWJKJA.app/Contents/MBIILauncherLIN.exe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment