Update PLCrashReport.m

This commit is contained in:
Jarred Sumner
2022-01-03 22:30:20 -08:00
parent 6966d94d90
commit 5fd47bc613

View File

@@ -46,8 +46,7 @@ bool PLCrashReportStart(const char *version, const char *basePath) {
appMarketingVersion:v
configuration:config];
crash_folder = basePath_;
[reporter setValue:crash_folder forKey:@"_crashReportDirectory"];
[reporter setValue:basePath_ forKey:@"_crashReportDirectory"];
[reporter setCrashCallbacks:&callbacks];
return [reporter enableCrashReporter];