138498956e
linuxdeploy injects a RUNPATH ($ORIGIN/../lib) via patchelf into every usr/bin executable when building the AppDir. The Bun-compiled xpbridge sidecar (self-contained, JS/assets appended past the ELF) does not survive ELF rewriting — the patched copy core-dumps on start, so the app launches but the bridge never listens. Add scripts/fix-linux-appimage.sh: extract the built AppImage, restore the pristine repo sidecar, repack with linuxdeploy-plugin-appimage (which does not patchelf), verify the sidecar is byte-identical, and regenerate the updater .sig. Wired into scripts/build-linux.sh after `tauri build`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>