runelite: fix desktop entry
This commit is contained in:
parent
68efec90db
commit
8cf9ec9b02
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue