1 2 3 4 5 6 7 8 9 10 11
#!/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 "$@"