summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xAppRun3
-rw-r--r--build.sh8
-rw-r--r--install_dependencies.sh1
3 files changed, 10 insertions, 2 deletions
diff --git a/AppRun b/AppRun
new file mode 100755
index 0000000..c39dead
--- /dev/null
+++ b/AppRun
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$APPDIR/usr/bin/manaplus -d "${APPDIR}/data" $@ \ No newline at end of file
diff --git a/build.sh b/build.sh
index 662c290..8b9b2d0 100644
--- a/build.sh
+++ b/build.sh
@@ -35,9 +35,13 @@ make -j4
mkdir run
make install
-
# package
-../../squashfs-root/AppRun --appdir appDir \
+mkdir AppDir
+
+cp -r $dir/run/share/games/manaplus/data AppDir/data
+cp ../../AppRun AppDir/AppRun
+
+../../squashfs-root/AppRun --appdir AppDir \
-d ../../manaplus.desktop \
-i ./data/icons/manaplus.svg \
-e ./run/bin/manaplus \
diff --git a/install_dependencies.sh b/install_dependencies.sh
index bb9d57f..fbe3179 100644
--- a/install_dependencies.sh
+++ b/install_dependencies.sh
@@ -13,4 +13,5 @@ apt-get -y -q build-dep manaplus
apt-get install -y -q g++ gcc xsel make autoconf automake appstream-index libappstream0 libappstream-dev autopoint gettext libxml2-dev libcurl4-gnutls-dev libpng-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev gdb valgrind netcat-openbsd procps zlibc
# AppImage - linuxdeploy
+# seems to be not possible on docker because security restrictions
#apt-get install -y -q libfuse2 \ No newline at end of file