Mercurial > minori
changeset 357:ab77d65f23cd
builds/linux: linuxdeploy fails now for some reason
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 15 Jul 2024 00:43:11 -0400 |
parents | 373f92c35bec |
children | 53c92e8968d5 |
files | .builds/linux.yml |
diffstat | 1 files changed, 21 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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