summarylogtreecommitdiffstats
path: root/hmcl-launch-script
blob: 7dae908d1f8119d3d38e1d7e68f18cda66038413 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

if [[ "$1" != "-p" ]]; then
    WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/hmcl
    mkdir -p $WORKDIR
    cd $WORKDIR
fi

exec java -jar /usr/share/hmcl/HMCL.jar