blob: 46a987f85083f6ce0d17ff0528832c1d9cc1ab8f (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if [[ "$1" != "-p" ]]; then
WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/hmcl
mkdir -p $WORKDIR
cd $WORKDIR
fi
exec /usr/lib/jvm/zulu-jre-fx/bin/java -jar "/usr/share/java/hmcl-bin/hmcl-bin.jar" "$@"
|