mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add docs for getShouldUpload
This commit is contained in:
committed by
Kevin Sawicki
parent
7b8eb3e09c
commit
6bbd92368f
@@ -70,6 +70,11 @@ Returns [`CrashReport[]`](structures/crash-report.md):
|
||||
Returns all uploaded crash reports. Each report contains the date and uploaded
|
||||
ID.
|
||||
|
||||
### `crashReporter.getShouldUpload()`
|
||||
|
||||
Returns `Boolean` - Whether reports should be submitted to the server. Set through
|
||||
the `start` method or `setShouldUpload`.
|
||||
|
||||
### `crashReporter.setShouldUpload(shouldUpload)`
|
||||
|
||||
* `shouldUpload` Boolean _macOS_ - Whether reports should be submitted to the server
|
||||
|
||||
Reference in New Issue
Block a user