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
This commit is contained in:
1 parent
13d9ec3724
commit
3d497a33b0
2 files changed
+5
-2
No files matched your search
@@ -130,12 +130,15 @@ jobs:
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=QBZ
|
Name=QBZ
|
||||||
Comment=Native Qobuz client with hi-res audio support
|
Comment=Native Qobuz client with hi-res audio support
|
||||||
Exec=qbz
|
Exec=qbz %u
|
||||||
Icon=qbz
|
Icon=qbz
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=AudioVideo;Audio;Music;Player;
|
Categories=AudioVideo;Audio;Music;Player;
|
||||||
Keywords=music;audio;qobuz;hifi;streaming;audiophile;
|
Keywords=music;audio;qobuz;hifi;streaming;audiophile;
|
||||||
|
StartupWMClass=com.blitzfc.qbz
|
||||||
|
StartupNotify=true
|
||||||
|
MimeType=x-scheme-handler/qbz;x-scheme-handler/qobuzapp;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
tar -czvf "dist/qbz_${VERSION}_amd64.tar.gz" -C tarball-staging "${TARBALL_DIR}"
|
tar -czvf "dist/qbz_${VERSION}_amd64.tar.gz" -C tarball-staging "${TARBALL_DIR}"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Name={{name}}
|
|||||||
{{#if comment}}
|
{{#if comment}}
|
||||||
Comment={{comment}}
|
Comment={{comment}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
Exec={{exec}}
|
Exec={{exec}} %u
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon={{icon}}
|
Icon={{icon}}
|
||||||
Categories={{categories}}
|
Categories={{categories}}
|
||||||
|
|||||||
Reference in new issue
Block a user