runescape-launcher: add .desktop file
This commit is contained in:
parent
43965fdc37
commit
fce6d3c3be
1 changed files with 7 additions and 0 deletions
|
@ -103,6 +103,13 @@ in
|
|||
];
|
||||
multiPkgs = pkgs: [ libGL ];
|
||||
runScript = "runescape-launcher";
|
||||
extraInstallCommands = ''
|
||||
mkdir -p "$out/share/applications"
|
||||
cp ${runescape}/share/applications/runescape-launcher.desktop "$out/share/applications"
|
||||
cp -r ${runescape}/share/icons "$out/share/icons"
|
||||
substituteInPlace "$out/share/applications/runescape-launcher.desktop" \
|
||||
--replace "/usr/bin/runescape-launcher" "RuneScape"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "RuneScape Game Client (NXT) - Launcher for RuneScape 3";
|
||||
|
|
Loading…
Reference in a new issue