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
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ let
|
||||||
install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps
|
install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps
|
||||||
substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \
|
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"
|
--replace 'Icon=joplin' "Icon=@joplinapp-desktop"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue