mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
chatzone-desktop: fix URL handling
Register the chatzone URL scheme alongside the existing mattermost scheme.
Pass URLs to the application with the %U desktop entry field code so links
opened through the desktop handler reach Chatzone.
Assisted-by: OpenAI Codex (GPT-6)
(cherry picked from commit 1166e171ba)
This commit is contained in:
committed by
github-actions[bot]
parent
6b84ff6efa
commit
aa4cb8c380
@@ -30,7 +30,7 @@ stdenvNoCC.mkDerivation {
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "chatzone";
|
||||
exec = "chatzone-desktop";
|
||||
exec = "chatzone-desktop %U";
|
||||
icon = "chatzone-desktop";
|
||||
terminal = false;
|
||||
desktopName = "Chatzone";
|
||||
@@ -42,7 +42,10 @@ stdenvNoCC.mkDerivation {
|
||||
"Chat"
|
||||
];
|
||||
startupWMClass = "Chatzone";
|
||||
mimeTypes = [ "x-scheme-handler/mattermost" ];
|
||||
mimeTypes = [
|
||||
"x-scheme-handler/mattermost"
|
||||
"x-scheme-handler/chatzone"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user