summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawnCable <lawncable.gitlab@simonlaux.de>2019-03-18 01:07:15 +0000
committerLawnCable <lawncable.gitlab@simonlaux.de>2019-03-18 01:07:15 +0000
commit36088635c31edd63b075dd0782ae018368b28052 (patch)
tree7d203b9a0acf2045698ef64bb72ae92fdfad7572
parent0ef81abe2fca26be930159c41125aea7ce5af52e (diff)
downloadappimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.gz
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.bz2
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.xz
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.zip
Change working directory to solve #2
-rwxr-xr-xAppRun5
-rw-r--r--README.md12
2 files changed, 16 insertions, 1 deletions
diff --git a/AppRun b/AppRun
index c39dead..53bb940 100755
--- a/AppRun
+++ b/AppRun
@@ -1,3 +1,6 @@
#!/bin/bash
-$APPDIR/usr/bin/manaplus -d "${APPDIR}/data" $@ \ No newline at end of file
+# change working dir, so that is next to the data directory
+cd $APPDIR
+
+$APPDIR/usr/bin/manaplus $@ \ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b06dae2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# MPlusBuilder
+
+This repo provides a pipeline for building and packaging manaplus to an AppImage for use with
+our [launcher](https://gitlab.com/TMW2/lawncable).
+
+**IMPORTANT:** The resulting appimage doesn't support relative paths in its arguments. SO ONLY USE **ABSOLUTE** PATHS.
+
+### Special Compilation Options
+
+```
+--enable-commandlinepassword
+``` \ No newline at end of file