clash-verge-rev: add desktop entry
This commit is contained in:
parent
159be5db48
commit
2807cd3fac
@ -8,6 +8,8 @@
|
|||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
v2ray-geoip,
|
v2ray-geoip,
|
||||||
v2ray-domain-list-community,
|
v2ray-domain-list-community,
|
||||||
|
copyDesktopItems,
|
||||||
|
makeDesktopItem,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "clash-verge-rev";
|
pname = "clash-verge-rev";
|
||||||
@ -101,7 +103,22 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
wrapGAppsHook3
|
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 = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user