mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
[breakpad] Add new annotation "short_version"
This commit is contained in:
@@ -69,11 +69,12 @@ namespace BlackMisc
|
|||||||
std::map<std::string, std::string> annotations;
|
std::map<std::string, std::string> annotations;
|
||||||
|
|
||||||
// Backtrace annotations
|
// Backtrace annotations
|
||||||
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
|
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
|
||||||
annotations["format"] = "minidump";
|
annotations["format"] = "minidump";
|
||||||
annotations["version"] = CBuildConfig::getVersionString().toStdString();
|
annotations["version"] = CBuildConfig::getVersionString().toStdString();
|
||||||
annotations["platform"] = CBuildConfig::getPlatformString().toStdString();
|
annotations["short_version"] = CBuildConfig::getShortVersionString().toStdString();
|
||||||
annotations["qtversion"] = QT_VERSION_STR;
|
annotations["platform"] = CBuildConfig::getPlatformString().toStdString();
|
||||||
|
annotations["qtversion"] = QT_VERSION_STR;
|
||||||
|
|
||||||
// add our logfile
|
// add our logfile
|
||||||
const QString logAttachment = QStringLiteral("--attachment=attachment_%1=%2").arg(CFileLogger::getLogFileName(), CFileLogger::getLogFilePath());
|
const QString logAttachment = QStringLiteral("--attachment=attachment_%1=%2").arg(CFileLogger::getLogFileName(), CFileLogger::getLogFilePath());
|
||||||
|
|||||||
Reference in New Issue
Block a user