diff --git a/packaging/linux/appimage/generate_appimage.sh b/packaging/linux/appimage/generate_appimage.sh index 5488be29..51580878 100755 --- a/packaging/linux/appimage/generate_appimage.sh +++ b/packaging/linux/appimage/generate_appimage.sh @@ -1,9 +1,8 @@ #!/bin/bash DESTDIR=$(readlink -f appdir) ninja install -wget -c -q "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" -chmod a+x linuxdeployqt-continuous-x86_64.AppImage -VERSION=$KLOGG_VERSION ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -VERSION=$KLOGG_VERSION ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage +wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) +chmod +x appimagetool-*.AppImage +VERSION=$KLOGG_VERSION ./appimagetool-*.AppImage -s deploy appdir/usr/share/applications/*.desktop # Bundle EVERYTHING mkdir ./packages cp ./klogg-$KLOGG_VERSION-x86_64.AppImage ./packages/klogg-$KLOGG_VERSION-x86_64.AppImage