From fe1819f587ae3e9e8a12fb98d7b7760eec3ea527 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 27 Jul 2014 11:07:36 +0800 Subject: [PATCH] Revert "Don't start crash reporter on Windows." This reverts commit 684f15ab89eae5088688955721876271798d9b38. --- static/index.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/static/index.js b/static/index.js index 4e83a9087..179026a66 100644 --- a/static/index.js +++ b/static/index.js @@ -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();