Merge pull request #7500 from electron/store-crashes-in-configured-temp-dir

Store crash reports in configured temp dir
This commit is contained in:
Cheng Zhao 2016-10-10 10:19:02 +09:00 committed by GitHub
commit 91591f37e6
16 changed files with 151 additions and 88 deletions

View file

@ -22,6 +22,12 @@ following projects:
* [socorro](https://github.com/mozilla/socorro)
* [mini-breakpad-server](https://github.com/electron/mini-breakpad-server)
Crash reports are saved locally in an application-specific temp directory folder.
For a `productName` of `YourName`, crash reports will be stored in a folder
named `YourName Crashes` inside the temp directory. You can customize this temp
directory location for your app by calling the `app.setPath('temp', '/my/custom/temp')`
API before starting the crash reporter.
## Methods
The `crash-reporter` module has the following methods: