Pass crashes directory to crash service process

This commit is contained in:
Kevin Sawicki 2016-10-05 16:15:49 -07:00
parent 2fbb98a97c
commit 0380d3ae50
5 changed files with 23 additions and 14 deletions

View file

@ -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
}