cryptor: add desktop item

This commit is contained in:
h7x4 2024-06-12 23:12:24 +02:00
parent 313a88f600
commit ccaa736c45
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146

View File

@ -42,6 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
wrapProgram $out/bin/cryptor \
--prefix PATH : "${lib.makeBinPath [ gocryptfs ]}"
install -Dm444 $src/resources/misc/cryptor.desktop -t $out/share/applications
substituteInPlace $out/share/applications/cryptor.desktop \
--replace-warn '/usr/bin/cryptor' 'cryptor'
'';
meta = {