From a1be76db1786e01327feee2783d83e85aa9104f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Flor=C3=AAncio?= Date: Thu, 16 Jul 2026 14:20:34 +0100 Subject: [PATCH] fix(release): install xdg-open for Linux bundles (#1731) --- .github/scripts/release-workflow-contract_test.py | 6 ++++++ .github/workflows/release.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/scripts/release-workflow-contract_test.py b/.github/scripts/release-workflow-contract_test.py index b3a8ae4f1e..3212da9b85 100644 --- a/.github/scripts/release-workflow-contract_test.py +++ b/.github/scripts/release-workflow-contract_test.py @@ -114,6 +114,12 @@ class ReleaseWorkflowContractTest(unittest.TestCase): self.assertIn('"$DESKTOP_ASSET_VERIFIER"', block) self.assertNotIn('scripts/release/verify-desktop-assets.sh "', block) + def test_linux_appimage_build_installs_xdg_open(self) -> None: + install = step_block("Install Linux desktop dependencies") + self.assertIn("startsWith(matrix.platform, 'linux-')", install) + self.assertIn("xdg-utils", install) + self.assertIn("command -v xdg-open", install) + def test_macos_dmg_build_has_retry_timeout_and_diagnostics(self) -> None: build = step_block("Build Tauri desktop app") self.assertIn("timeout-minutes: 70", build) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c74bd1d25..a72b0b573b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -655,7 +655,9 @@ jobs: libgtk-3-dev \ libayatana-appindicator3-dev \ librsvg2-dev \ + xdg-utils \ patchelf + command -v xdg-open - name: Install dependencies run: pnpm -C apps install --frozen-lockfile