fix: crash dump location on Linux (#31668)
* fix: crash dump location on Linux * fix: ignore client_id for Zygote process * chore: update comment Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
b6b9cec604
commit
96a04c67fd
2 changed files with 5 additions and 5 deletions
|
@ -127,11 +127,7 @@ bool ElectronPathProvider(int key, base::FilePath* result) {
|
|||
case DIR_CRASH_DUMPS:
|
||||
if (!base::PathService::Get(chrome::DIR_USER_DATA, &cur))
|
||||
return false;
|
||||
#if defined(OS_MAC) || defined(OS_WIN)
|
||||
cur = cur.Append(FILE_PATH_LITERAL("Crashpad"));
|
||||
#else
|
||||
cur = cur.Append(FILE_PATH_LITERAL("Crash Reports"));
|
||||
#endif
|
||||
create_dir = true;
|
||||
break;
|
||||
case chrome::DIR_APP_DICTIONARIES:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue