aboutsummaryrefslogtreecommitdiff
path: root/appimage/build_appimage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'appimage/build_appimage.sh')
-rwxr-xr-xappimage/build_appimage.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh
index f8e8c1a..b19a508 100755
--- a/appimage/build_appimage.sh
+++ b/appimage/build_appimage.sh
@@ -46,6 +46,12 @@ apt -qq update && apt -qqy install wget;
wget $_APPIMAGETOOL_DOWNLOAD_URL -O $_APPIMAGETOOL_FILE;
chmod +x $_APPIMAGETOOL_FILE;
+# add appstream metadata
+install -Dvm644 "$_BINARY_TARBALL_EXTRACTED_FOLDER/io.gitlab.LibreWolf.appdata.xml" "$_BINARY_TARBALL_EXTRACTED_FOLDER/share/metainfo/io.gitlab.LibreWolf.appdata.xml"
+
+# add libdbus-glib-1.so.2, just in case
+install -Dvm644 "/usr/lib/{$CARCH}-linux-gnu/libdbus-glib-1.so.2" "$_BINARY_TARBALL_EXTRACTED_FOLDER/usr/lib/libdbus-glib-1.so."2
+
# Generate AppImage
printf "\nGenerating AppImage\n";
ARCH=${CARCH} $_APPIMAGETOOL_FILE --appimage-extract-and-run\
bgstack15