Skip to content

Commit

Permalink
clash-verge-rev: add desktop entry (#341297)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Sep 12, 2024
2 parents a9db09e + 2807cd3 commit b675e8d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkgs/by-name/cl/clash-verge-rev/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
wrapGAppsHook3,
v2ray-geoip,
v2ray-domain-list-community,
copyDesktopItems,
makeDesktopItem,
}:
let
pname = "clash-verge-rev";
Expand Down Expand Up @@ -101,7 +103,22 @@ stdenv.mkDerivation {

nativeBuildInputs = [
wrapGAppsHook3
copyDesktopItems
];

desktopItems = [
(makeDesktopItem {
name = "clash-verge";
exec = "clash-verge";
comment = "Clash Verge Rev";
type = "Application";
icon = "clash-verge";
desktopName = "Clash Verge Rev";
terminal = false;
categories = [ "Network" ];
})
];

installPhase = ''
runHook preInstall
Expand Down

0 comments on commit b675e8d

Please sign in to comment.