From 36088635c31edd63b075dd0782ae018368b28052 Mon Sep 17 00:00:00 2001 From: LawnCable Date: Mon, 18 Mar 2019 01:07:15 +0000 Subject: Change working directory to solve #2 --- AppRun | 5 ++++- README.md | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 README.md 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 -- cgit v1.2.3-70-g09d2