From 3c9ca974f0f86b77681c9fb54d249dfc44e19a68 Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Mon, 22 Jun 2020 20:09:21 +0200 Subject: [PATCH] add AppImage to mkrelease.sh --- src/scripts/mkrelease.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/scripts/mkrelease.sh b/src/scripts/mkrelease.sh index 15e22ac..1a965df 100755 --- a/src/scripts/mkrelease.sh +++ b/src/scripts/mkrelease.sh @@ -35,6 +35,15 @@ rm -rf bin/SilentDragonLite* > /dev/null # Build the lib first cd lib && make release && cd .. make -j$(nproc) > /dev/null +make install INSTALL_ROOT=AppDir + +# now, build AppImage using linuxdeploy and linuxdeploy-plugin-qt +# download linuxdeploy and its Qt plugin +wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage +wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage + +# make them executable +chmod +x linuxdeploy*.AppImage echo "[OK]"