Pass crashes directory to crash service process
This commit is contained in:
parent
2fbb98a97c
commit
0380d3ae50
5 changed files with 23 additions and 14 deletions
|
@ -43,7 +43,12 @@ class CrashReporter {
|
|||
}
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
const args = ['--reporter-url=' + submitURL, '--application-name=' + this.productName, '--v=1']
|
||||
const args = [
|
||||
'--reporter-url=' + submitURL,
|
||||
'--application-name=' + this.productName,
|
||||
'--crashes-directory=' + bindings._getCrashesDirectory(this.productName, this.tempDirectory),
|
||||
'--v=1'
|
||||
]
|
||||
const env = {
|
||||
ELECTRON_INTERNAL_CRASH_SERVICE: 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue