mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Use GetUploadsEnabled to return GetShouldUpload
This commit is contained in:
committed by
Kevin Sawicki
parent
5a1a2616aa
commit
285a36f9de
@@ -75,12 +75,16 @@ ID.
|
||||
Returns `Boolean` - Whether reports should be submitted to the server. Set through
|
||||
the `start` method or `setShouldUpload`.
|
||||
|
||||
**NOTE:** This API can only be used from the main process
|
||||
|
||||
### `crashReporter.setShouldUpload(shouldUpload)` _macOS_
|
||||
|
||||
* `shouldUpload` Boolean _macOS_ - Whether reports should be submitted to the server
|
||||
|
||||
This would normally be controlled by user preferences.
|
||||
|
||||
**NOTE:** This API can only be used from the main process
|
||||
|
||||
## Crash Report Payload
|
||||
|
||||
The crash reporter will send the following data to the `submitURL` as
|
||||
|
||||
Reference in New Issue
Block a user