Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- HW=`uname -m`
- SRR=Dragonfall
- # Find the directory this script is running from so we can CD into it.
- me=`which "$0"`
- if test -L "$me"; then
- me=`readlink -nf "$me"`
- fi
- SRRDIR=`dirname "$me" 2>/dev/null`
- cd "$SRRDIR" > /dev/null # added double quotes to avoid line 14 error
- # Make sure the execute bit hasn't been mucked with.
- if test ! -x "$SRR"; then
- chmod +x "$SRR"
- fi
- # Run, saving into log please (Unity bug causes this to not be on by default).
- ./$SRR -logFile output.log
- ECODE=$?
- if [ "$ECODE" != "0" ]; then
- echo ""
- echo "It seems Shadowrun Dragonfall has exited unsuccessfully (error = $ECODE)."
- echo ""
- echo "Please verify that you have the latest drivers installed before filing a bug report here:"
- echo " http://harebrained-schemes.com/shadowrun/bug-reports"
- echo ""
- exit $ECODE
- fi
Advertisement
Add Comment
Please, Sign In to add comment