fix(release): install xdg-open for Linux bundles (#1731)

This commit is contained in:
Carlos Florêncio
2026-07-16 14:20:34 +01:00
committed by GitHub
parent c784dfcc91
commit a1be76db17
2 changed files with 8 additions and 0 deletions
@@ -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)
+2
View File
@@ -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