signal-desktop-beta: remove tray icon fix

it's unnecessary, the beta has an option in the preferences for it
This commit is contained in:
jacekpoz 2023-10-11 11:34:16 +02:00 committed by Bjørn Forsman
parent d48c731828
commit 22522136f0

View file

@ -159,7 +159,7 @@ stdenv.mkDerivation rec {
# Fix the desktop link and fix showing application icon in tray
substituteInPlace $out/share/applications/${pname}.desktop \
--replace "/opt/${dir}/${pname}" $out/bin/${pname} \
--replace "bin/signal-desktop" "bin/signal-desktop --use-tray-icon"
${if pname == "signal-desktop" then "--replace \"bin/signal-desktop\" \"bin/signal-desktop --use-tray-icon\"" else ""}
autoPatchelf --no-recurse -- "$out/lib/${dir}/"
patchelf --add-needed ${libpulseaudio}/lib/libpulse.so "$out/lib/${dir}/resources/app.asar.unpacked/node_modules/@signalapp/ringrtc/build/linux/libringrtc-x64.node"