Skip to content

fix: AppImage CI deps — add patchelf, drop unused appindicator#12

Merged
xuy merged 1 commit intomainfrom
fix/appimage-linux-deps
Mar 12, 2026
Merged

fix: AppImage CI deps — add patchelf, drop unused appindicator#12
xuy merged 1 commit intomainfrom
fix/appimage-linux-deps

Conversation

@xuy
Copy link
Copy Markdown
Owner

@xuy xuy commented Mar 11, 2026

Summary

  • Add patchelf to CI Linux deps — linuxdeploy's GTK plugin uses it to rewrite RPATHs in bundled libraries so the AppImage loads its own libs instead of the host system's. Without this, the AppImage crashes on distros with different library ABIs than the build host (e.g. Fedora when built on Ubuntu 22.04).
  • Remove libayatana-appindicator3-dev — the project doesn't enable Tauri's tray-icon feature, so this dependency is unused.

Context

Supersedes #11, which correctly identified the AppImage issue but:

  1. Removed required deps (libgtk-3-dev, libssl-dev) that would break the CI build
  2. Swapped libayatana-appindicator3-dev for the deprecated libappindicator3-dev
  3. Changed the updater endpoint/pubkey to point to a fork

This PR makes the minimal correct fix — just add patchelf and drop the unused dep.

Test plan

  • Trigger a release build via workflow_dispatch and verify the AppImage is produced
  • Test the resulting AppImage on Fedora (Aurora/Kinoite)
  • Verify deb/rpm bundles still build correctly

🤖 Generated with Claude Code

Add patchelf so linuxdeploy's GTK plugin can rewrite RPATHs in bundled
libraries. Without it, the AppImage loads system libs at runtime instead
of its own, causing ABI crashes on distros other than the build host
(e.g. Fedora when built on Ubuntu).

Remove libayatana-appindicator3-dev — the project doesn't use tray/
appindicator features (no tray-icon in Cargo.toml tauri features).

Supersedes #11.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aoiwelle aoiwelle self-requested a review March 11, 2026 17:17
@xuy xuy merged commit f49a6c3 into main Mar 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant