joplin-desktop: fix icon

This commit is contained in:
Igor Sidorov 2021-07-04 15:28:25 +03:00
parent af7a317f79
commit e28a8e1abe

View file

@ -55,7 +55,8 @@ let
install -Dm444 ${appimageContents}/@joplinapp-desktop.desktop -t $out/share/applications
install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps
substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
--replace 'Exec=AppRun' 'Exec=${pname}' \
--replace 'Icon=joplin' "Icon=$out/share/pixmaps/@joplinapp-desktop.png"
'';
};