Merge pull request #216629 from camillemndn/sonixd

sonixd: package icon and desktop file
This commit is contained in:
Weijia Wang 2023-02-16 15:33:59 +01:00 committed by GitHub
commit b42312f49a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,9 @@ appimageTools.wrapType2 rec {
mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
install -m 444 -D ${appimageContents}/${pname}.png \
$out/share/icons/hicolor/1024x1024/apps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
meta = with lib; {