cataclysm-dda-git: fix desktop launcher installation (#44364)
This commit is contained in:
parent
81e65071bb
commit
c77e4de58e
|
@ -74,7 +74,7 @@ let
|
||||||
|
|
||||||
installXDGAppLauncher = ''
|
installXDGAppLauncher = ''
|
||||||
launcher="$out/share/applications/cataclysm-dda.desktop"
|
launcher="$out/share/applications/cataclysm-dda.desktop"
|
||||||
install -D -m 444 data/xdg/com.cataclysmdda.cataclysm-dda.desktop -T "$launcher"
|
install -D -m 444 data/xdg/*cataclysm-dda.desktop -T "$launcher"
|
||||||
sed -i "$launcher" -e "s,\(Exec=\)\(cataclysm-tiles\),\1$out/bin/\2,"
|
sed -i "$launcher" -e "s,\(Exec=\)\(cataclysm-tiles\),\1$out/bin/\2,"
|
||||||
install -D -m 444 data/xdg/cataclysm-dda.svg -t $out/share/icons/hicolor/scalable/apps
|
install -D -m 444 data/xdg/cataclysm-dda.svg -t $out/share/icons/hicolor/scalable/apps
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue