clash-verge-rev: add desktop entry

This commit is contained in:
wxt 2024-09-12 12:44:14 +08:00
parent 159be5db48
commit 2807cd3fac

View File

@ -8,6 +8,8 @@
wrapGAppsHook3,
v2ray-geoip,
v2ray-domain-list-community,
copyDesktopItems,
makeDesktopItem,
}:
let
pname = "clash-verge-rev";
@ -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