From ad6dc870125136803584bcd84dce50c8e96b9ce6 Mon Sep 17 00:00:00 2001 From: m335 <110462702+m335671@users.noreply.github.com> Date: Fri, 28 Aug 2026 16:30:00 +0200 Subject: [PATCH] fix(ci): strip bundled libwayland-client from the Linux AppImage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The AppImage bundled by linuxdeploy ships its own libwayland-client.so.0, which is incompatible with Mesa on newer distros (Fedora included). At runtime this makes eglGetDisplay(EGL_DEFAULT_DISPLAY) fail with EGL_BAD_PARAMETER, and WebKitWebProcess aborts immediately on launch — reproduced locally on a fresh Fedora install (see #25). This is a known upstream Tauri bundler issue (tauri-apps/tauri#15665) with no built-in exclude option yet, so the AppImage is repackaged after build: extract it, delete the offending lib so the system's version is picked up instead, then repackage with appimagetool. Refs #25 --- .github/workflows/release_main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index cd8f96cc..953740db 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -129,6 +129,18 @@ jobs: NODE_OPTIONS: --max-old-space-size=6144 run: bun run tauri:build -- --bundles appimage + - name: Retrait de libwayland-client bundlée (EGL_BAD_PARAMETER sur Mesa 25+, cf tauri-apps/tauri#15665) + run: | + cd src-tauri/target/release/bundle/appimage + APPIMAGE=$(ls *.AppImage) + chmod +x "$APPIMAGE" + ./"$APPIMAGE" --appimage-extract + rm -f squashfs-root/usr/lib/libwayland-client.so.0 + curl -sL -o appimagetool https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage + chmod +x appimagetool + ./appimagetool --appimage-extract-and-run squashfs-root "$APPIMAGE" + rm -rf squashfs-root appimagetool + - name: Upload de l'AppImage uses: actions/upload-artifact@v4 with: