fix(ci): Linux AppImage 构建补充 libfuse2 依赖

linuxdeploy 工具链本身是 AppImage 格式,运行时需要 libfuse2;
Ubuntu 22.04(x64 / ARM)默认不带,导致 AppImage bundle 失败。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
程序员阿江(Relakkes) 2026-04-16 16:19:45 +08:00
parent c99fed1664
commit 4c4945c9a8

View File

@ -72,6 +72,8 @@ jobs:
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
# ── 系统依赖 (Linux) ─────────────────────────────────────
# libfuse2 是 AppImage 运行时依赖linuxdeploy 工具链本身是 AppImage 格式,
# 运行时需要 libfuse2Ubuntu 22.04 默认未安装。
- name: Install Linux dependencies
if: contains(matrix.platform, 'ubuntu')
run: |
@ -81,7 +83,8 @@ jobs:
libxdo-dev libssl-dev \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev patchelf
librsvg2-dev patchelf \
libfuse2
# ── Bun ──────────────────────────────────────────────────
- name: Setup Bun