# HG changeset patch # User Paper # Date 1721018591 14400 # Node ID ab77d65f23cd99554aa1073e9d16bd3ae0a90e99 # Parent 373f92c35becadf229a77b5c11085c287fbb5530 builds/linux: linuxdeploy fails now for some reason diff -r 373f92c35bec -r ab77d65f23cd .builds/linux.yml --- a/.builds/linux.yml Mon Jul 15 00:11:16 2024 -0400 +++ b/.builds/linux.yml Mon Jul 15 00:43:11 2024 -0400 @@ -29,12 +29,28 @@ cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop cp ../rc/sys/linux/Minori.svg rc/Minori.svg - # use linuxdeploy to make an appimage - wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage" - chmod +x linuxdeploy - LD_LIBRARY_PATH=. ./linuxdeploy --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage + # use linuxdeployqt to make an appimage + wget -O linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" + chmod +x linuxdeployqt + + mkdir -p AppDir/usr/bin + mkdir -p AppDir/usr/lib + mkdir -p AppDir/usr/share/applications + mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps + + cp ../rc/sys/linux/Minori.svg AppDir/Minori.svg + cp ../rc/sys/linux/Minori.desktop AppDir/usr/share/applications/Minori.desktop + cp minori AppDir/usr/bin/minori + + ./linuxdeployqt AppDir/usr/share/applications/Minori.desktop -unsupported-allow-new-glibc -appimage + + # linuxdeployqt fails to make the appimage, for some reason + wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" + chmod +x appimagetool + + ./appimagetool AppDir minori-x86_64.AppImage artifacts: - - minori/build/Minori-x86_64.AppImage + - minori/build/minori-x86_64.AppImage triggers: - action: email condition: failure