mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #203421 from prtzl/signal-desktop
signal-desktop: fix background launch in desktop file
This commit is contained in:
commit
a2494bf204
@ -114,7 +114,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Fix the desktop link
|
||||
substituteInPlace $out/share/applications/signal-desktop.desktop \
|
||||
--replace /opt/Signal/signal-desktop $out/bin/signal-desktop
|
||||
--replace /opt/Signal/signal-desktop "$out/bin/signal-desktop --start-in-tray"
|
||||
# Fix end of command - redirect stdout
|
||||
substituteInPlace $out/share/applications/signal-desktop.desktop \
|
||||
--replace "%U" "> /tmp/signal-desktop.log %U"
|
||||
|
||||
autoPatchelf --no-recurse -- $out/lib/Signal/
|
||||
patchelf --add-needed ${libpulseaudio}/lib/libpulse.so $out/lib/Signal/resources/app.asar.unpacked/node_modules/ringrtc/build/linux/libringrtc-x64.node
|
||||
|
Loading…
Reference in New Issue
Block a user