#!/bin/sh # ProjectX GUI allways looks at $(pwd)/html/index.html # for its help file if [ "$#" -eq 0 ] ; then mkdir -p ~/.projectx cd ~/.projectx && ln -s /opt/projectx/htmls . fi java -jar /opt/projectx/ProjectX.jar "$@"