mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix the path to launch the crashreporter on mac, which luser broke a couple days ago. Early checkin from bug 358082
This commit is contained in:
parent
a2e65ebb52
commit
6a388a31a3
@ -131,6 +131,8 @@ bool MinidumpCallback(const XP_CHAR* dump_path,
|
||||
#endif
|
||||
bool succeeded)
|
||||
{
|
||||
printf("Wrote minidump ID %s\n", minidump_id);
|
||||
|
||||
XP_CHAR minidumpPath[XP_PATH_MAX];
|
||||
int size = XP_PATH_MAX;
|
||||
XP_CHAR* p = Concat(minidumpPath, dump_path, &size);
|
||||
@ -249,6 +251,12 @@ nsresult SetExceptionHandler(nsILocalFile* aXREDirectory,
|
||||
rv = aXREDirectory->Clone(getter_AddRefs(exePath));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
exePath->Append(NS_LITERAL_STRING("crashreporter.app"));
|
||||
exePath->Append(NS_LITERAL_STRING("Contents"));
|
||||
exePath->Append(NS_LITERAL_STRING("MacOS"));
|
||||
#endif
|
||||
|
||||
exePath->Append(NS_LITERAL_STRING(CRASH_REPORTER_FILENAME));
|
||||
|
||||
nsString crashReporterPath_temp;
|
||||
|
Loading…
Reference in New Issue
Block a user