diff options
Diffstat (limited to 'voxelshop')
-rwxr-xr-x | voxelshop | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/voxelshop b/voxelshop index 3d0d96f4bba2..13eaef068d9e 100755 --- a/voxelshop +++ b/voxelshop @@ -1,4 +1,11 @@ #!/bin/bash -cd /opt/voxelshop/ -./start-linux.sh +cd /opt/{{pkgname}}/ +declare -r DATA_DIR=${XDG_DATA_HOME:-"${HOME}/.local.share"}/{{pkgname}} + +# Update the Getdown configuration file +install -CDm644 -t "${DATA_DIR}" getdown.txt + +# Start the application using Getdown +java -jar getdown-client.jar "${DATA_DIR}" + |