From ff5b8919e9aeeb7881b08a93c0989a26a7356196 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Mon, 11 Nov 2024 09:44:26 -0500 Subject: [PATCH] Switch AppImage build to use the new linuxdeploy tool Signed-off-by: Geoff Hutchison --- .github/workflows/build_cmake.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 81e19c91c5..714a44b637 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -287,15 +287,18 @@ jobs: OPENSSL_ROOT_DIR: ${{ matrix.config.ssl_env }} - name: AppImage - if: matrix.config.os == 'ubuntu-20.04' && matrix.config.build_type == 'Release' + if: matrix.config.os == 'ubuntu-22.04' && matrix.config.build_type == 'Release' shell: bash run: | mkdir appdir mv prefix appdir/usr - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" + + wget -c -nv "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" + wget -c -nv "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" chmod a+x *.AppImage - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -extra-plugins=iconengines + + ./linuxdeploy-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -extra-plugins=iconengines --plugin qt # add the custom AppRun rm appdir/AppRun cp ../avogadrolibs/avogadrolibs/scripts/AppImage.sh appdir/AppRun