trelby: fix .desktop file and install icon to correct path
This commit is contained in:
parent
cea7fa4896
commit
6c65343377
@ -40,6 +40,15 @@ python3Packages.buildPythonApplication rec {
|
|||||||
wxpython
|
wxpython
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm644 trelby/resources/trelby.desktop $out/share/applications/trelby.desktop
|
||||||
|
|
||||||
|
install -Dm644 trelby/resources/icon256.png $out/share/icons/hicolor/256x256/apps/trelby.png
|
||||||
|
|
||||||
|
substituteInPlace $out/share/applications/trelby.desktop \
|
||||||
|
--replace-fail "Icon=trelby256" "Icon=trelby"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Free, multiplatform, feature-rich screenwriting program";
|
description = "Free, multiplatform, feature-rich screenwriting program";
|
||||||
homepage = "www.trelby.org";
|
homepage = "www.trelby.org";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user