runelite: fix desktop entry

This commit is contained in:
Alex Martens 2023-11-27 12:31:48 -08:00
parent 68efec90db
commit 8cf9ec9b02

View file

@ -37,10 +37,13 @@ maven.buildMavenPackage rec {
installPhase = ''
mkdir -p $out/share/icons
mkdir -p $out/share/applications
cp target/RuneLite.jar $out/share
cp appimage/runelite.png $out/share/icons
ln -s ${desktop}/share/applications/RuneLite.desktop $out/share/applications/RuneLite.desktop
makeWrapper ${jre}/bin/java $out/bin/runelite \
--prefix LD_LIBRARY_PATH : "${xorg.libXxf86vm}/lib" \
--add-flags "-jar $out/share/RuneLite.jar"