build: Add support for building AppImages under linux

This commit is contained in:
redpolline
2023-10-17 14:03:09 -04:00
committed by Macdu
parent ecdeb625d6
commit ae08826fed
9 changed files with 144 additions and 17 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
if [ "${APPIMAGE}" != "" ]; then
XDG_DATA_DIRS="${APPDIR}/usr/share:${XDG_DATA_DIRS}" "${APPDIR}/usr/bin/Vita3K" $@
fi
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
echo "Executing linuxdeploy with cmdline: LDAI_VERBOSE=1 $@"
LDAI_VERBOSE=1 $@
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# Note: The documentation at https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/blob/master/README.md for embedding update info is wrong.
# The correct env-variable name to use is UPDATE_INFORMATION, and *not* LDAI_UPDATE_INFORMATION.
echo "Executing linuxdeploy with cmdline: LDAI_VERBOSE=1 UPDATE_INFORMATION=\"gh-releases-zsync|Vita3K|Vita3K|latest|Vita3K-x86_64.AppImage.zsync\" $@"
LDAI_VERBOSE=1 UPDATE_INFORMATION="gh-releases-zsync|Vita3K|Vita3K|latest|Vita3K-x86_64.AppImage.zsync" $@
+5
View File
@@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Vita3K
Icon=vita3k
Categories=Game;Emulator;X-None;