diff options
author | Rowisi | 2020-04-14 20:17:34 +0100 |
---|---|---|
committer | Rowisi | 2020-04-14 20:17:34 +0100 |
commit | 562317a7b4fe1ef95bfa242d50550468e4f84c36 (patch) | |
tree | 42992965611966db422c2bbcdff1b1821024b3ab /hmcl-launch-script | |
download | aur-562317a7b4fe1ef95bfa242d50550468e4f84c36.tar.gz |
Initial Commit: Version 3.3.162
Diffstat (limited to 'hmcl-launch-script')
-rwxr-xr-x | hmcl-launch-script | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hmcl-launch-script b/hmcl-launch-script new file mode 100755 index 000000000000..4593acf50e68 --- /dev/null +++ b/hmcl-launch-script @@ -0,0 +1,9 @@ +#!/bin/sh + +if [[ "$1" != "-p" ]]; then + WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/hmcl + mkdir -p $WORKDIR + cd $WORKDIR +fi + +exec /usr/bin/java -jar "/usr/share/java/hmcl-bin/hmcl-bin.jar" "$@" |