mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 07:03:36 +00:00
~
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
46c50a4c59
commit
5cd864baa0
1 changed files with 8 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
||||||
imagemagick,
|
imagemagick,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
nodejs,
|
nodejs,
|
||||||
|
copyDesktopItems,
|
||||||
electron,
|
electron,
|
||||||
makeDesktopItem
|
makeDesktopItem
|
||||||
}: stdenv.mkDerivation rec {
|
}: stdenv.mkDerivation rec {
|
||||||
|
@ -36,6 +37,7 @@
|
||||||
imagemagick
|
imagemagick
|
||||||
makeWrapper
|
makeWrapper
|
||||||
nodejs
|
nodejs
|
||||||
|
copyDesktopItems
|
||||||
];
|
];
|
||||||
|
|
||||||
yarnBuildScript = "electron-builder";
|
yarnBuildScript = "electron-builder";
|
||||||
|
@ -63,15 +65,17 @@
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
desktopItems = [(
|
desktopItems = [
|
||||||
makeDesktopItem {
|
(makeDesktopItem {
|
||||||
name = pname;
|
name = pname;
|
||||||
desktopName = "YNOdesktop";
|
desktopName = "YNOdesktop";
|
||||||
|
genericName = "Desktop client for Yume Nikki Online";
|
||||||
|
comment = "Play Yume Nikki Online";
|
||||||
exec = "ynodesktop";
|
exec = "ynodesktop";
|
||||||
icon = "ynodesktop";
|
icon = "ynodesktop";
|
||||||
categories = [ "Game" ];
|
categories = [ "Game" ];
|
||||||
}
|
})
|
||||||
)];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A desktop client for Yume Nikki Online with Discord Rich Presence";
|
description = "A desktop client for Yume Nikki Online with Discord Rich Presence";
|
||||||
|
|
Loading…
Reference in a new issue