File autostart_use_wrapper.diff of Package testpilotcloud-client

--- owncloudclient-2.4.0-nightly20170927/src/common/utility_unix.cpp.orig	2017-09-27 19:58:01.842268233 +0200
+++ owncloudclient-2.4.0-nightly20170927/src/common/utility_unix.cpp	2017-09-27 19:58:13.026290036 +0200
@@ -70,7 +70,7 @@
         ts << QLatin1String("[Desktop Entry]") << endl
            << QLatin1String("Name=") << guiName << endl
            << QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
-           << QLatin1String("Exec=") << QCoreApplication::applicationFilePath() << endl
+           << QLatin1String("Exec=") << "/usr/bin/testpilotcloud" << endl
            << QLatin1String("Terminal=") << "false" << endl
            << QLatin1String("Icon=") << appName.toLower() << endl // always use lowercase for icons
            << QLatin1String("Categories=") << QLatin1String("Network") << endl
openSUSE Build Service is sponsored by