summarylogtreecommitdiffstats
path: root/voxelshop
diff options
context:
space:
mode:
authorDamien Flament2017-08-26 09:05:36 +0200
committerDamien Flament2017-08-26 09:05:36 +0200
commit609047617a772ce6aeec8283a624498277c3d5de (patch)
tree0aded3e0a833e6a7645447c8a6fdd2add6de9ba2 /voxelshop
parent369293d32d4186e08565a295532df94be3d07bd2 (diff)
downloadaur-609047617a772ce6aeec8283a624498277c3d5de.tar.gz
Stored custom startup script in a file within the tarball
Diffstat (limited to 'voxelshop')
-rwxr-xr-xvoxelshop11
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}"
+