#!/bin/sh # Launch script for unix systems, loads bundled libraries if there are any. cd "$(dirname $0)" DYLD_LIBRARY_PATH=libs/ LD_LIBARY_PATH=libs/ ./Pong > output.log 2>&1 if [ ! $? = "0" ]; then zenity --error --text="The program appears to not have closed correctly. Please check output.log to see details." fi