From 3d497a33b0b6523ba07470b7d4bb4a55fe11d40b Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Thu, 19 Feb 2026 16:17:25 -0600 Subject: [PATCH] fix(desktop): add %u to Exec and complete tarball .desktop for URI handling The Tauri .desktop template was missing %u in the Exec line, preventing the desktop environment from passing qobuzapp:// URIs as arguments when launched from the browser. The tarball .desktop was also missing MimeType, StartupWMClass, and StartupNotify fields. Closes #44 cc --- .github/workflows/release-linux.yml | 5 ++++- src-tauri/templates/app.desktop | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index 5c394fcc1..613c0d1fa 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -130,12 +130,15 @@ jobs: [Desktop Entry] Name=QBZ Comment=Native Qobuz client with hi-res audio support - Exec=qbz + Exec=qbz %u Icon=qbz Terminal=false Type=Application Categories=AudioVideo;Audio;Music;Player; Keywords=music;audio;qobuz;hifi;streaming;audiophile; + StartupWMClass=com.blitzfc.qbz + StartupNotify=true + MimeType=x-scheme-handler/qbz;x-scheme-handler/qobuzapp; EOF tar -czvf "dist/qbz_${VERSION}_amd64.tar.gz" -C tarball-staging "${TARBALL_DIR}" diff --git a/src-tauri/templates/app.desktop b/src-tauri/templates/app.desktop index 77e0f62f6..c3ecdd102 100644 --- a/src-tauri/templates/app.desktop +++ b/src-tauri/templates/app.desktop @@ -3,7 +3,7 @@ Name={{name}} {{#if comment}} Comment={{comment}} {{/if}} -Exec={{exec}} +Exec={{exec}} %u Type=Application Icon={{icon}} Categories={{categories}}