Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Linux fixes

Richie McIlroyc6fbd72e6f9a
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index a1a458439..5616adf20 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -284,6 +284,13 @@ jobs:
env:
# https://github.com/tauri-apps/tauri-action/issues/740
CI: false
+ # linuxdeploy chokes on `strip` for libraries using modern ELF
+ # relocation (`.relr.dyn`) such as our bundled FFmpeg .so files,
+ # failing with "failed to run linuxdeploy". NO_STRIP skips that step.
+ NO_STRIP: ${{ runner.os == 'Linux' && 'true' || '' }}
+ # appimagetool (invoked by linuxdeploy) is itself an AppImage and the
+ # ubuntu-24.04 runners have no FUSE, so force extract-and-run.
+ APPIMAGE_EXTRACT_AND_RUN: ${{ runner.os == 'Linux' && '1' || '' }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# codesigning
APPLE_CERTIFICATE: ${{ runner.os == 'macOS' && secrets.APPLE_CERTIFICATE || '' }}