Also add the command line arguments in the archive
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 5 Oct 2020 17:45:47 +0000 (19:45 +0200)
committerMichael Schuster (Rebase PR Action) <misch7@users.noreply.github.com>
Wed, 7 Oct 2020 13:33:20 +0000 (13:33 +0000)
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/generalsettings.cpp

index f910601ac65805b7cc78dafbdc10abc1b83986f4..804a9974d4befbee2cdb58cb9b7eaa1cce67c2f0 100644 (file)
@@ -123,6 +123,8 @@ void createDebugArchive(const QString &filename)
             zip.addFile(entry.zipFilename, &file);
         }
     }
+
+    zip.addFile("__nextcloud_client_parameters.txt", QCoreApplication::arguments().join(' ').toUtf8());
 }
 }