From 974f8a2ac6c67f8787beb3de70fb28c58b18455a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Jun 2019 09:01:27 +0200 Subject: [PATCH] Changes of Linux canary v0.0.83 --- .../canary/browser/crash-reporter-init.js | 18 ------------------ electronasar/canary/common/crash-reporter.js | 1 - 2 files changed, 19 deletions(-) diff --git a/electronasar/canary/browser/crash-reporter-init.js b/electronasar/canary/browser/crash-reporter-init.js index 65bcaea..917ae67 100644 --- a/electronasar/canary/browser/crash-reporter-init.js +++ b/electronasar/canary/browser/crash-reporter-init.js @@ -14,27 +14,9 @@ const getTempDirectory = function () { exports.crashReporterInit = function (options) { const productName = options.productName || app.getName(); const crashesDirectory = path.join(getTempDirectory(), `${productName} Crashes`); - let crashServicePid; - if (process.platform === 'win32') { - const env = { - ELECTRON_INTERNAL_CRASH_SERVICE: 1 - }; - const args = [ - '--reporter-url=' + options.submitURL, - '--application-name=' + productName, - '--crashes-directory=' + crashesDirectory, - '--v=1' - ]; - const crashServiceProcess = cp.spawn(process.helperExecPath, args, { - env, - detached: true - }); - crashServicePid = crashServiceProcess.pid; - } return { productName, crashesDirectory, - crashServicePid, appVersion: app.getVersion() }; }; diff --git a/electronasar/canary/common/crash-reporter.js b/electronasar/canary/common/crash-reporter.js index 0ae394d..923feca 100644 --- a/electronasar/canary/common/crash-reporter.js +++ b/electronasar/canary/common/crash-reporter.js @@ -22,7 +22,6 @@ class CrashReporter { }); this.productName = ret.productName; this.crashesDirectory = ret.crashesDirectory; - this.crashServicePid = ret.crashServicePid; if (extra._productName == null) extra._productName = ret.productName; if (extra._companyName == null)