From 8ce137cc5358be3ac56635360c38fd6c12aaba71 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Mon, 5 Oct 2020 19:45:47 +0200 Subject: [PATCH] Also add the command line arguments in the archive Signed-off-by: Kevin Ottens --- src/gui/generalsettings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp index f910601ac..804a9974d 100644 --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -123,6 +123,8 @@ void createDebugArchive(const QString &filename) zip.addFile(entry.zipFilename, &file); } } + + zip.addFile("__nextcloud_client_parameters.txt", QCoreApplication::arguments().join(' ').toUtf8()); } } -- 2.30.2