Changes of Linux canary v0.0.83

This commit is contained in:
root 2019-06-15 09:01:27 +02:00
parent 27b36fec2d
commit 974f8a2ac6
2 changed files with 0 additions and 19 deletions

View file

@ -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()
};
};

View file

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