Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (17 sloc) 425 Bytes
#!/bin/sh
echo "\033[44;37;1mRunning OpenCOR...\033[0m"
WMsg="OpenCOR must first be built before being run."
if [ "`uname -s`" = "Linux" ]; then
if [ -f build/bin/OpenCOR ]; then
build/bin/OpenCOR "$@"
else
echo $WMsg
fi
else
if [ -d build/OpenCOR.app ]; then
build/OpenCOR.app/Contents/MacOS/OpenCOR "$@"
else
echo $WMsg
fi
fi
echo "\033[42;37;1mAll done!\033[0m"