Add desktop entry

This commit is contained in:
lelgenio 2023-04-21 21:47:39 -03:00
parent cb5fd49cf6
commit 0ece4e88a6
2 changed files with 9 additions and 1 deletions

View file

@ -34,7 +34,8 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
install -Dm777 -T dzgui.sh $out/bin/.dzgui-unwrapped_
install -DT dzgui.sh $out/bin/.dzgui-unwrapped_
install -DT ${./dzgui.desktop} $out/share/applications/dzgui.desktop
makeWrapper $out/bin/.dzgui-unwrapped_ $out/bin/dzgui \
--prefix PATH ':' ${lib.makeBinPath runtimeDeps}
'';

7
dzgui.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=dzgui
Name=DZGUI
Categories=Game