qnotero: fix desktop file
Signed-off-by: Mathias Sven <mathiassven2@hotmail.com> Co-authored-by: Johannes Jöns <34899572+jopejoe1@users.noreply.github.com>
This commit is contained in:
parent
a1663fbdf6
commit
80bdfe66c4
1 changed files with 12 additions and 0 deletions
|
@ -26,6 +26,18 @@ python3Packages.buildPythonPackage rec {
|
|||
wrapQtApp "$out"/bin/qnotero
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/share
|
||||
mv $out/usr/share/applications $out/share/applications
|
||||
|
||||
substituteInPlace $out/share/applications/qnotero.desktop \
|
||||
--replace "Icon=/usr/share/qnotero/resources/light/qnotero.png" "Icon=qnotero"
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/64x64/apps
|
||||
ln -s $out/usr/share/qnotero/resources/light/qnotero.png \
|
||||
$out/share/icons/hicolor/64x64/apps/qnotero.png
|
||||
'';
|
||||
|
||||
# no tests executed
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue