joplin-desktop: make Icon= more bitrot resistant
Replace Icon=<nix_store_path_to_icon> with Icon=<icon_name> so that the desktop file doesn't break when placed in ~/.config/autostart and after a system upgrade + garbage collect cycle.
This commit is contained in:
parent
801d535fab
commit
0baed3d787
@ -55,7 +55,7 @@ let
|
||||
install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps
|
||||
substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}' \
|
||||
--replace 'Icon=joplin' "Icon=$out/share/pixmaps/@joplinapp-desktop.png"
|
||||
--replace 'Icon=joplin' "Icon=@joplinapp-desktop"
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user