forked from qt-creator/qt-creator
crashpad: change chrashpad dumps location to user directory on macOS
This is necessary to not pollute the signed and notarized .app bundle. Task-number: QDS-9113 Change-Id: I74e0bced5679faac94b27d2a31ea10a7949fb21f Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -511,7 +511,7 @@ FilePath ICore::libexecPath(const QString &rel)
|
||||
FilePath ICore::crashReportsPath()
|
||||
{
|
||||
if (Utils::HostOsInfo::isMacHost())
|
||||
return libexecPath("crashpad_reports/completed");
|
||||
return Core::ICore::userResourcePath("crashpad_reports/completed");
|
||||
else
|
||||
return libexecPath("crashpad_reports/reports");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user