Move packaging scripts for docker and appimage into subdirectory.

- De-clutter the project root directory.
This commit is contained in:
Andrew Hamilton 2021-11-03 21:23:15 +10:00
parent 0f59e43395
commit 58b78e9ce4
10 changed files with 6 additions and 6 deletions

26
packaging/appimage/AppRun Executable file
View file

@ -0,0 +1,26 @@
#!/bin/sh
# This is a modified version of the AppRun made by AppImage's meta/Recipe.
set -e
HERE="$(dirname "$(readlink -f "${0}")")"
export APPDIR="${HERE}"
export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/local/bin/:"${PATH}"
export UNION_PRELOAD="${HERE}"
export LD_PRELOAD="${HERE}/libunionpreload.so"
export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
export PYTHONPATH=/usr/local/lib/python3.9/dist-packages:"${PYTHONPATH}"
if [ -z $APPIMAGE_ENTER ]; then
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g')
exec ${EXEC} $@
else
if [ -z "$@" ]; then
exec /bin/bash
else
$@
fi
fi

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=Eris
Comment=
Exec=eris
Terminal=true
Icon=eris
Categories=Application;

BIN
packaging/appimage/eris.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.