yubioath-desktop: fix icon

This commit is contained in:
Sandro Jäckel 2021-04-16 21:45:43 +02:00
parent f93a4f2add
commit 1766f30971
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -44,7 +44,7 @@ mkDerivation rec {
cp resources/icons/*.{icns,ico,png,svg} $out/share/yubioath/icons
substituteInPlace $out/share/applications/com.yubico.yubioath.desktop \
--replace 'Exec=yubioath-desktop' "Exec=$out/bin/yubioath-desktop" \
--replace 'Icon=yubioath' "Icon=$out/share/yubioath/icons/com.yubico.yubioath.png"
--replace 'Icon=com.yubico.yubioath' "Icon=$out/share/yubioath/icons/com.yubico.yubioath.png"
'';
meta = with lib; {