Move crash report URL to config.js

This commit is contained in:
Feross Aboukhadijeh
2016-04-04 23:27:26 -07:00
parent 997aa7c922
commit 76487326f1
3 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ module.exports = {
AUTO_UPDATE_URL: 'https://webtorrent.io/desktop/update?version=' + APP_VERSION,
AUTO_UPDATE_CHECK_STARTUP_DELAY: 5 * 1000 /* 5 seconds */,
CRASH_REPORT_URL: 'https://webtorrent.io/desktop/crash-report',
CONFIG_PATH: applicationConfigPath(APP_NAME),
CONFIG_POSTER_PATH: path.join(applicationConfigPath(APP_NAME), 'Posters'),
CONFIG_TORRENT_PATH: path.join(applicationConfigPath(APP_NAME), 'Torrents'),

View File

@@ -134,6 +134,6 @@ function setupCrashReporter () {
crashReporter.start({
companyName: config.APP_NAME,
productName: config.APP_NAME,
submitURL: 'https://webtorrent.io/desktop/crash-report'
submitURL: config.CRASH_REPORT_URL
})
}

View File

@@ -1067,6 +1067,6 @@ function setupCrashReporter () {
crashReporter.start({
companyName: config.APP_NAME,
productName: config.APP_NAME,
submitURL: 'https://webtorrent.io/desktop/crash-report'
submitURL: config.CRASH_REPORT_URL
})
}