signal-desktop: remove absolute path in desktop entry

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-10-14 20:41:53 +02:00
parent af971aa847
commit f7e15d3e5c
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -237,7 +237,7 @@ stdenv.mkDerivation rec {
# Fix the desktop link # Fix the desktop link
substituteInPlace $out/share/applications/${pname}.desktop \ substituteInPlace $out/share/applications/${pname}.desktop \
--replace-fail "/opt/${dir}/${pname}" $out/bin/${pname} \ --replace-fail "/opt/${dir}/${pname}" ${meta.mainProgram} \
--replace-fail "StartupWMClass=Signal" "StartupWMClass=signal" --replace-fail "StartupWMClass=Signal" "StartupWMClass=signal"
# Note: The following path contains bundled libraries: # Note: The following path contains bundled libraries: