commit e0c1996e120e5a3b7ab6f45ef89311bb8b5c7ef3
Author: LuK1337 <priv.luk(a)gmail.com>
Date: Sat Oct 5 16:36:55 2024 +0200
Remove "Path" from the desktop file
No idea why but Discord with Vencord installed crashes for me if it's
ran from /usr/bin.
Since other desktop files don't set Path, this is safe to remove anyway.
discord.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/discord.spec b/discord.spec
index 39f6fcb..1c378d5 100644
--- a/discord.spec
+++ b/discord.spec
@@ -7,7 +7,7 @@
Name: discord
Version: 0.0.70
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: All-in-one voice and text chat
# License Information:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=4441#c14
@@ -60,6 +60,7 @@ mkdir -p %{buildroot}%{_metainfodir}/
desktop-file-install \
--set-icon=%{name} \
--set-key=Exec --set-value=%{_bindir}/Discord \
+--remove-key=Path \
--delete-original \
--dir=%{buildroot}/%{_datadir}/applications \
discord.desktop
@@ -86,6 +87,9 @@ appstream-util validate-relax --nonet
%{buildroot}%{_metainfodir}/%{name}.metain
%changelog
+* Sat Oct 05 2024 LuK1337 <priv.luk(a)gmail.com> - 0.0.70-2
+- Remove "Path" from the desktop file
+
* Wed Oct 02 2024 Sérgio Basto <sergio(a)serjux.com> - 0.0.70-1
- Update to 0.0.70