From d2b219ea1ddb58502bd1da5b23bbeeb790bc2007 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Mon, 12 Jan 2026 11:55:04 -0600 Subject: [PATCH] fix: CI workflow failures Linux workflow: - Remove xdg-portal feature from tauri-plugin-dialog to fix ashpd/zbus version incompatibility - The ashpd 0.11.0 crate has breaking changes with zbus 5.x Flatpak workflow: - Use build-options.append-path instead of shell export to properly set PATH for SDK extensions - This ensures npm/rust binaries are available in all build commands --- packaging/flatpak/com.blitzkriegfc.qbz.yml | 3 ++- src-tauri/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/flatpak/com.blitzkriegfc.qbz.yml b/packaging/flatpak/com.blitzkriegfc.qbz.yml index 16cec4bb5..9f648462e 100644 --- a/packaging/flatpak/com.blitzkriegfc.qbz.yml +++ b/packaging/flatpak/com.blitzkriegfc.qbz.yml @@ -23,8 +23,9 @@ finish-args: modules: - name: qbz buildsystem: simple + build-options: + append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin build-commands: - - export PATH=/usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin:$PATH - npm ci - npm run build - npm run tauri build -- --bundles none diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index df7f13bdc..e657a0c21 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -90,7 +90,8 @@ futures-util = "0.3" # Platform-specific dependencies [target.'cfg(target_os = "linux")'.dependencies] -tauri-plugin-dialog = { version = "2.5.0", default-features = false, features = ["xdg-portal"] } +# Note: xdg-portal feature disabled due to ashpd/zbus version incompatibility +tauri-plugin-dialog = { version = "2.5.0" } [target.'cfg(target_os = "macos")'.dependencies] tauri-plugin-dialog = { version = "2.5.0" }