1
0
Fork 0
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:
Rae 5e 2025-01-26 01:04:48 -05:00
parent 46c50a4c59
commit 5cd864baa0
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE

View file

@ -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";