Also add build infos in the archive
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 5 Oct 2020 19:56:42 +0000 (21:56 +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 804a9974d4befbee2cdb58cb9b7eaa1cce67c2f0..8e57eb8d1db09e72ff5ba2af57b78d675c3c1a6c 100644 (file)
@@ -125,6 +125,9 @@ void createDebugArchive(const QString &filename)
     }
 
     zip.addFile("__nextcloud_client_parameters.txt", QCoreApplication::arguments().join(' ').toUtf8());
+
+    const auto buildInfo = QString(OCC::Theme::instance()->about() + "\n\n" + OCC::Theme::instance()->aboutDetails());
+    zip.addFile("__nextcloud_client_buildinfo.txt", buildInfo.toUtf8());
 }
 }