anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / networking / nextcloud-client / 0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
blob312a0d089f6033bde487eac37e52c0b75725aa91
1 From 54255deceaaaf118e9daadc3dd9f517c33bdd658 Mon Sep 17 00:00:00 2001
2 From: Ilan Joselevich <personal@ilanjoselevich.com>
3 Date: Tue, 30 Nov 2021 22:50:43 +0200
4 Subject: [PATCH] When creating the autostart entry, do not use an absolute
6 ---
7 src/common/utility_unix.cpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/common/utility_unix.cpp b/src/common/utility_unix.cpp
11 index 887213f09..c66468306 100644
12 --- a/src/common/utility_unix.cpp
13 +++ b/src/common/utility_unix.cpp
14 @@ -88,7 +88,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
15 ts << QLatin1String("[Desktop Entry]\n")
16 << QLatin1String("Name=") << guiName << QLatin1Char('\n')
17 << QLatin1String("GenericName=") << QLatin1String("File Synchronizer\n")
18 - << QLatin1String("Exec=\"") << executablePath << "\" --background\n"
19 + << QLatin1String("Exec=") << "nextcloud --background\n"
20 << QLatin1String("Terminal=") << "false\n"
21 << QLatin1String("Icon=") << APPLICATION_ICON_NAME << QLatin1Char('\n')
22 << QLatin1String("Categories=") << QLatin1String("Network\n")
23 --
24 2.33.1