#!/bin/sh case "$#" in 0) mkdir -p "${HOME}/.projectx" cd "${HOME}/.projectx" ln -sf %%DATADIR%%/*.txt %%DATADIR%%/htmls . if ! grep '^# ProjectX 0.90.4.00' X.ini >/dev/null 2>&1; then rm -f X.ini fi ;; esac exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/GDialog.jar" "$@"