Merge pull request #325831 from RAVENz46/szyszka

szyszka: Add desktop icon
This commit is contained in:
Aleksana 2024-08-21 00:29:03 +08:00 committed by GitHub
commit d52b09ef43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,18 @@ rustPlatform.buildRustPackage rec {
Foundation
]);
postInstall = ''
install -m 444 \
-D data/com.github.qarmin.szyszka.desktop \
-t $out/share/applications
install -m 444 \
-D data/com.github.qarmin.szyszka.metainfo.xml \
-t $out/share/metainfo
install -m 444 \
-D data/icons/com.github.qarmin.szyszka.svg \
-t $out/share/icons/hicolor/scalable/apps
'';
meta = with lib; {
description = "Simple but powerful and fast bulk file renamer";
homepage = "https://github.com/qarmin/szyszka";