Revert "Don't start crash reporter on Windows."

This reverts commit 684f15ab89.
This commit is contained in:
Cheng Zhao
2014-07-27 11:07:36 +08:00
parent aa157af93e
commit fe1819f587

View File

@@ -6,14 +6,13 @@ window.onload = function() {
var loadSettings = JSON.parse(decodeURIComponent(location.search.substr(14)));
// Start the crash reporter before anything else.
if (process.platform != 'win32')
require('crash-reporter').start({
productName: 'Atom',
companyName: 'GitHub',
// By explicitly passing the app version here, we could save the call
// of "require('remote').require('app').getVersion()".
extra: {_version: loadSettings.appVersion}
});
require('crash-reporter').start({
productName: 'Atom',
companyName: 'GitHub',
// By explicitly passing the app version here, we could save the call
// of "require('remote').require('app').getVersion()".
extra: {_version: loadSettings.appVersion}
});
require('vm-compatibility-layer');
require('coffee-script').register();